destinationMIDIEndpoint
The MIDI endpoint you specify as the track’s target.
Declaration
var destinationMIDIEndpoint: MIDIEndpointRef { get set }Discussion
This property and a destinationAudioUnit are mutually exclusive. Setting this property removes the track’s reference to an AVAudioUnit destination. When playing, the track sends events to the MIDI endpoint. For more information, see MIDIDestinationCreate(_:_:_:_:_:). You can’t change the endpoint while the track’s sequence is in a playing state.