Skip to main content

decode_midi1_channel_voice

Function decode_midi1_channel_voice 

Source
pub fn decode_midi1_channel_voice(
    packet: UmpPacket,
) -> Result<MidiMessage, AudioError>
Expand description

Decode a MIDI 1.0 channel-voice UMP (MT 0x2) into a MidiMessage. Errors AudioError::UnsupportedFormat if the packet is not MT 0x2.