The binary MIDI message.
The first byte is a status byte (first/most significant bit = 1), the remaining bytes are data bytes (first/most significant bit = 0).
To give a simple example, pressing C5 on a MIDI keyboard would generate the following message:
[0x90, 0x48, 0x64]
Ch.1 Note 72 Velocity 100
NoteOn i.e. C5
The note values can be looked up online:
Same goes for a full description of the packet structure:
The identifier, unique per client + device combo.
The event type.
Generated using TypeDoc
A MIDI event payload.