avaudioengine

Can I use AVAudioEngine to read from a file, process with an audio unit and write to a file, faster than real-time?

ⅰ亾dé卋堺 提交于 2019-11-27 01:10:10
问题 I am working on an iOS app that uses AVAudioEngine for various things, including recording audio to a file, applying effects to that audio using audio units, and playing back the audio with the effect applied. I use a tap to also write the output to a file. When this is done it writes to the file in real time as the audio is playing back. Is it possible to set up an AVAudioEngine graph that reads from a file, processes the sound with an audio unit, and outputs to a file, but faster than real