The MIDI data which must be a complete normalized MIDI event without any real-time MIDI events interspersed within it.
reserveMidiEvent
Reserve space for a MIDI event and return a mutable slice to write into.
Parameters
portBuffer | The MIDI output port buffer |
time | The time of the event (events must be in order) |
Returns
A slice to write the MIDI data to or null on failure (buffer full).