Skip to main content

Module pack

Module pack 

Source
Expand description

KORG 7-in-8 packing: each group of up to 7 data bytes is sent as one byte holding their MSBs (bit i = MSB of byte i) followed by their low 7 bits.

Structs§

NotSevenBit
A byte that must be 7-bit had its high bit set.

Functions§

pack
Pack 8-bit data into 7-bit-safe SysEx payload bytes.
packed_len
Packed length of n data bytes.
unpack
Unpack 7-bit SysEx payload bytes into 8-bit data.