2017-01-24 5 views

Antwort

1

Ja, Sie sicher, können Sie verwenden:

  • AVAudioPlayerNode
  • AVAudioUnitDistortion (oder irgendeine andere Effektgerät)
  • engine.outputNode (Sprecher)

Die allgemeine Verbindung des Diagramms sieht so aus:

func connectNodes() 
{ 
    engine.connect(unitfilePlayer, to:unitdistortionUnit, format:unitfilePlayerformat) 
    engine.connect(unitdistortionUnit, to:unitspeaker, format:engine.mainMixerNode.outputFormat(forBus: 0)) 
} 

So ist die grafische Darstellung wie folgt aussieht:

Graph Example

Verwandte Themen