Skip to main content

Module wire

Module wire 

Source
Expand description

Canonical MIDI channel-message wire bytes.

The status-nibble + data-byte layout of a ChannelMessage is fixed by the MIDI spec; the SMF writer and the wasm frame model each hand-rolled the same match. This is the one home for it (OVERLAP6.14).

Functionsยง

encode_channel
Encode a channel message to its (status, data) wire bytes.