I spent some time experimenting with the MPlayer slave protocol : in a user application, I have two controls: one for changing the pitch and one for changing the speed.
This is easy to implement using the scaletempo filter and the * speed_set * / * speed_mult * commands from the MPlayer API.
However, a problem arises if I try to change the pitch and speed independently. To give an example: I would like to be able to slow down speed with e. d. 20%, while the pitch is transposed in two or three semitones.
I tried to do this by adding two scaletempo filters, but without success:
af_add scaletempo=scale=1.0:speed=pitch speed_mult 1.1224620482959342 af_add scaletempo=scale=0.8:speed=tempo
This method changes the speed while maintaining the original step.
Is there any other solution for MPlayer or any other media player?
Thanks in advance!
source share