[MPlayer-users] MPlayer with Pitch Shift
Nan Null
hovh03 at yahoo.com
Fri Dec 7 21:30:12 CET 2007
I decided to go using another route. So far it works, but I haven't tried with the problematic files yet. I think it should work too.
This time, I am able to over come the multi-track problem too, which is great.
Here's how I do it: use alsa and is configuration file.
The configuration file (in ~/.asoundrc)
pcm.ladspa {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/lib/ladspa";
plugins [
{
label tap_pitch
input {
controls [ 0 0 -90 0]
}
}
]
}
pcm.!default {
type plug
slave.pcm "ladspa"
}
And the mplayer command:
mplayer -ao alsa somefile.mpg
The problem I encounter here is that I always have to use the default block. If I delete it, and specify the device directly:
mplayer -ao alsa,device=ladspa somefile.mpg
It won't work. Could someone please point out why so? Thanks.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the MPlayer-users
mailing list