Expand description
MIDI 2.0 Universal MIDI Packet (UMP) container + the MIDI 2.0 channel-voice message model.
A UMP is 1..=4 big-endian 32-bit words. The top nibble of word 0 is the
Message Type (MT), which fixes the packet size; the next nibble is the Group
(0..=15). UmpPacket is a fixed 4-word Copy container tagged with the
number of valid words.
Structs§
- UmpPacket
- A fixed-capacity Universal MIDI Packet (1..=4 valid 32-bit words).
Enums§
- Midi2
Channel Voice - A MIDI 2.0 channel-voice message (MT 0x4 payload), decoded into fields. Values are at MIDI 2.0 resolution (16-bit velocity, 32-bit controllers/bend).
Constants§
- MT_
DATA_ 64 - Data / SysEx7 (MT 0x3) — 64-bit.
- MT_
DATA_ 128 - Data / SysEx8 & Mixed Data Set (MT 0x5) — 128-bit.
- MT_
MIDI1_ CHANNEL_ VOICE - MIDI 1.0 channel voice (MT 0x2) — 32-bit.
- MT_
MIDI2_ CHANNEL_ VOICE - MIDI 2.0 channel voice (MT 0x4) — 64-bit.
- MT_
SYSTEM - System real-time / common (MT 0x1) — 32-bit.
- MT_
UTILITY - Utility messages (MT 0x0) — 32-bit.
Functions§
- packet_
word_ count - Number of 32-bit words in a UMP for a given Message Type, per the UMP spec.