Play a beep that loop and change the frequency/speed
Posted
by Bono
on Stack Overflow
See other posts from Stack Overflow
or by Bono
Published on 2010-05-04T21:13:43Z
Indexed on
2010/05/04
21:18 UTC
Read the original article
Hit count: 377
Hi all, I am creating an iphone application that use audio. I want to play a beep sound that loop indefinitely. I found an easy way to do that using the upper layer AVAudioPlayer and the numberOfLoops set to "-1". It works fine. But now I want to play this audio and be able to change the rate / speed. It may works like the sound played by a car when approaching an obstacle. At the beginning the beep has a low frequency and this frequency accelerate till reaching a continuous sound biiiiiiiiiiiip ... It seems this is not feasible using the high layer AVAudioPlayer, but even looking at AudioToolBox I found no solution. Does anybody have informations about how to do that?
Thanks a lot for helping me!
© Stack Overflow or respective owner