Expand description
MIDI Machine Control (MMC) — build and parse transport commands.
MMC commands ride inside a Universal Real-Time SysEx:
F0 7F <device> 06 <command…> F7, where 06 is the MMC sub-ID. This module
handles the common transport verbs — Stop, Play, Deferred Play, Fast Forward,
Rewind, Pause — plus Locate (target), which carries a standard-time field
44 06 01 hr mn sc fr sf (the hr byte packs a 2-bit frame-rate code in bits
5–6, per SMPTE). Messages are built into a caller-supplied buffer and parsed
from a byte slice, allocation-free.
Enums§
- MmcCommand
- A parsed / to-be-built MMC transport command.