A block used to schedule MIDI events.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Audio
Toolbox
Declaration
var scheduleMIDIEventBlock: AUSchedule MIDIEvent Block? { 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 AUAudio
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 internal
implementation.