Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently developing a video player software which intended to be an embeedded player. I'm using Java with VLCJ library for the video player.

What i'm looking is a way, something to transform the audio output to make the output sound as oldman or a kid (pitch shifting, i guess is the name). VLC have this when enabling time stretch, but the video play speed is affected (slower to get oldman sound, but fast-forward-alike to get kid voice effect.

Is there any solutions for this? I don't find this feature on VLC(J), so i think what i need is the audio output of the ubuntu itself (Ubuntu 12.04) to do this job. something like filtering audio output system wide. Any software or setting to do this? it also need to be controllable via command line to provide realtime effect changing.

Thanks in advance.

share|improve this question
up vote 2 down vote accepted

You can do pitch shift with the gstreamer plugin soundtouch. A project that probably uses this feature is playitslowly Install playitslowly.

See also:

For on-the fly pitch shifting it may be possible to set up a LADSPA filter for your sound output (e.g. TAP pitch plugin):

share|improve this answer
i got the concept, will now assembling the bash script. By the way, Thanks a lot for your help Takkat. – user777305 Oct 5 '12 at 2:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.