简体   繁体   中英

How can I play a sound file with varying pitch in iOS device programmatically

I have a heart beat sound file. I would like to play it on increasing pitch as a user waits for a time interval to finish. Can anyone tell me how to do this in iOS ?

You may want to see: Real-time Pitch Shifting on the iPhone

That article references dirac3d, but CoreAudio also now has this capability but it's non-trivial to setup. Chris Adamson has written some good articles on CoreAudio that would probably be helpful.

当前版本的iOS包括内置的NewTimePitch音频单元,可用于独立增加音调或播放时间。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM