Skip to main content

Module midi

Module midi 

Source
Expand description

MIDI message parsing, SysEx framing and stream reassembly (docs/02, docs/03).

Modules§

host
Host → pedal commands (docs/02 live control, docs/03 writes). Live changes are channel-2 CCs/PCs; the pedal does not echo them, so apply them to the local model too.
req
Read requests used by the official app’s handshake.

Structs§

Assembler
Reassembles a raw byte stream (possibly split SysEx) into whole messages.

Enums§

Cmd
Dir
Msg
One parsed MIDI message.

Constants§

HOST_CH
MFR
PEDAL_CH
Pedal reports on channel 1, the host commands on channel 2.
UID

Functions§

frame
Build a NEP frame F0 00 21 7A 70 <cmd> <dir> <payload> F7.
hex
short_request
Short identification request (0x00 version, 0x60 product name).