Skip to content

MIDIMessage

This class represents a single MIDI message.

Properties

ticks

The absolute amount of MIDI Ticks from the start of the track.

statusByte

The status byte of the message as a number from 0 to 255.

Learn more here and here.

Note

Note that for Meta Events, the status byte is the SECOND status byte, not the 0xFF!

data

An IndexedByteArray(Pretty much exactly the same as Uint8Array) instance of the event’s binary data.