I am trying to make audio processing application. Is there a way to apply audio effects to audio file using AVAudioEngine?
Yes, you sure can, You can use:
The general connection of the graph looks like:
func connectNodes()
{
engine.connect(unitfilePlayer, to:unitdistortionUnit, format:unitfilePlayerformat)
engine.connect(unitdistortionUnit, to:unitspeaker, format:engine.mainMixerNode.outputFormat(forBus: 0))
}
So the graph looks like:
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.