Instance Property

scheduleMIDIEventBlock

A block used to schedule MIDI events.

Declaration

var scheduleMIDIEventBlock: AUScheduleMIDIEventBlock? { get }

Discussion

As with the render block, a host should fetch this block before beginning to render, if it intends to schedule MIDI events.

This property is implemented in the AUAudioUnit base class. If the audio unit is not a music device or effect, this property is nil.

Subclasses should not override this property. When hosts schedule events via this block, they are delivered to the audio unit via the list of render events delivered to the internalRenderBlock implementation.

See Also

Managing MIDI Events

var isMusicDeviceOrEffect: Bool

Specifies whether an audio unit responds to MIDI events.

var virtualMIDICableCount: Int

The number of virtual MIDI cables implemented by a music device or effect.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software