1
我試圖讓音頻處理應用。有沒有申請使用AVAudioEngine音頻效果,音頻文件的方法嗎?AVAudioEngine應用音頻效果
我試圖讓音頻處理應用。有沒有申請使用AVAudioEngine音頻效果,音頻文件的方法嗎?AVAudioEngine應用音頻效果
是的,你肯定可以,你可以使用:
一般連接的圖形看起來像:
func connectNodes()
{
engine.connect(unitfilePlayer, to:unitdistortionUnit, format:unitfilePlayerformat)
engine.connect(unitdistortionUnit, to:unitspeaker, format:engine.mainMixerNode.outputFormat(forBus: 0))
}
所以圖表看起來像: