A structure that describes a scheduled MIDI event.


struct AUMIDIEvent


Instance Properties

var cable: UInt8

The virtual cable number.

var data: (UInt8, UInt8, UInt8)

The bytes of the MIDI event. Running status is not used.

var eventSampleTime: AUEventSampleTime

The sample time at which the event is scheduled to occur.

var length: UInt16

The number of valid MIDI bytes in the data field. For most MIDI events this value is usually 1, 2, or 3, but it can be longer for system-exclusive events.

var next: UnsafeMutablePointer<AURenderEvent>?

The next event in a linked list of events.

var reserved: UInt8

Reserved field. Must be 0.