disconnectMIDI(_:from:)
Removes a MIDI connection between two nodes.
Declaration
func disconnectMIDI(_ sourceNode: AVAudioNode, from destinationNode: AVAudioNode)Parameters
- sourceNode:
The node with the MIDI output to disconnect.
- destinationNode:
The node with the MIDI input to disconnect.