IPhone SDK: Change playback speed using core audio AVAudioPlayer?

See this question In other words, you'll have to use a different API like Audio Queue Services. If you want to try a simple hack, you can try doubling the sample rate property of the audio file. It probably won't work though.

Also, be warned that it is fairly complicated to adjust the playback speed while keeping the same pitch. You'll need to use a phase vocoder Also, in case you haven't realized it by now, doing complicated things with audio on the iPhone is a major pain because the documentation is generally either very bad or nonexistent.

See this question. In other words, you'll have to use a different API like Audio Queue Services. If you want to try a simple hack, you can try doubling the sample rate property of the audio file.It probably won't work though.

Also, be warned that it is fairly complicated to adjust the playback speed while keeping the same pitch. You'll need to use a phase vocoder. Also, in case you haven't realized it by now, doing complicated things with audio on the iPhone is a major pain because the documentation is generally either very bad or nonexistent.

Thank you for the answer. – Answerbot Mar 13 '10 at 2:20 So, if I am recording at a sample rate of 8000, then theoretically changing the sample rate to 12000 for playback should result in 1.5x speed? – Answerbot Mar 22 '10 at 5:38 Yes, if it will take arbitrary sample rates rather than just the common ones (44100, 22050, etc.).

I think that it will, but I haven't tried it. – Justin Peel Mar 22 '10 at 15:12 I'll give it a try and post the results today. – Answerbot Mar 25 '10 at 16:11.

Changing the sample rate should work just like a tape recorder would if you played it faster. Everything becomes higher in pitch. To keep the pitch the same, you would need to set up an Audio Unit graph that includes the AUPitch effect, and lower the pitch by the same ratio that you increase the sample rate by.

Thank you for that. – Answerbot Mar 22 '10 at 5:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions