pub fn encode_channel(message: &ChannelMessage) -> (u8, Vec<u8>)Expand description
Encode a channel message to its (status, data) wire bytes.
Pitch-bend’s two data bytes are masked to 7 bits each, per the MIDI spec.
pub fn encode_channel(message: &ChannelMessage) -> (u8, Vec<u8>)Encode a channel message to its (status, data) wire bytes.
Pitch-bend’s two data bytes are masked to 7 bits each, per the MIDI spec.