Binary encode and decode of MIDI messages.
Converts between {:midi, payload} message terms and their binary wire format.
Channels are 1-based in message terms and 0-based on the wire.
Summary
Functions
Decode a binary MIDI message into a {:midi, payload} tuple.
Encode a {:midi, payload} tuple into binary.