iphone - Play mp3 file smoothly upon dragging a scroll using AVToolbox or openAL -


I have been fighting since so many days but I have not been able to reach any conclusion.

My problem is that: I want to play an MP3 file, but not by clicking on a play button.

That's the way I want to play it.

* is a slider that I can drag with a finger, I want to play MP3 with frequency with which I'm pulling my finger (or the speed at which I Dragging my finger so that it could give the effect of fast forwarding (fun type) or if I slowly pull the slider, the output will be slowed

The problem is that the production of sound is not coming smooth The irritating sound I want to be smooth output.

Please help. Any suggestions Please, currently I am using AVAudioPlayer and passing the time value based on the slider input to run the file. (Although this is not possible) I think it is only possible using OpenLAL and there is no other way. Because of the use of OpenLL we can modify the frequency of the sound file (pitch)

Someone give me a link I'm OpenL

Help !!

You will not be able to do it with the aviideo player because it does not support pitch operation.

You can load and decode the entire track in memory for playback with OpenEle (which supports the pitch), or you can load and decode loading / decoding and audio units in real-time (very low level, More complex, though) can change.

Comments