tags:

views:

96

answers:

1

How can i reverse an audio samples with iphone sdk? I'll try to make a "dj scratch" effect. I'm talking about speeding up and slowing down and reversing the audio samples in real time.

A: 

This will not be as easy as you probably think. To get a real scratch effect you'll have to model the changes in playback speed - pitch shift down to 0 Hz and then reverse the audio stream and pitch shift back up again to the normal playback speed. This is not a trivial algorithm.

Stu Mackellar
Yes, that's right but i've to find a starting point. Audio unit maybe? I've found fmod api that can help me to solve the problem but the license is $500... too much for my budget.
Chiodo