I'd like to change the pitch of an audio fil开发者_JS百科e by changing the sample rate programmatically. I am recording the file using AVAudioRecorder. I have noticed a settings parameter within AVAudioPlayer, however, it is read only. Can anyone lend a helping hand? :)
You could manipulate the data the recording process returns, this is generally the way to go for DSP. A simple change in sound's speed can be done with a resampling.
Take a look here
精彩评论