Client.sendMIDIMessagesFromUI

Send MIDI from inside the UI. Intended to be called from inside an UI event callback.

Enqueue several MIDI messages in a synchronized manner, so that they are sent all at once, as early as possible as "live" MIDI messages. No guarantee of any timing for these messages, for example this can be in response to a key press on a virtual keyboard. The messages don't have to be ordered if they are spaced, but have to be if they have the same offset.

Note: It is guaranteed that all messages passed this way will keep their offset relationship in MIDI output. (Typically such a messages would all have a zero timestamp). Though they are sent as soon as possible in a best effort manner, their relative offset is preserved. Its offset is relative to the current buffer, and you can send messages arbitrarily in the future too.

class Client
nothrow @nogc nothrow @nogc
void
sendMIDIMessagesFromUI

Meta