开发者

Converting a sample rate of audio file iPhone

开发者 https://www.devze.com 2023-01-18 12:01 出处:网络
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 AVAu

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

0

精彩评论

暂无评论...
验证码 换一张
取 消