pub(crate) fn status_nibble(&self) -> u8 {
        match self {
            MidiMessage::NoteOff { .. } => 0x8,
            MidiMessage::NoteOn { .. } => 0x9,
            MidiMessage::Aftertouch { .. } => 0xA,
            MidiMessage::Controller { .. } => 0xB,
            MidiMessage::ProgramChange { .. } => 0xC,
            MidiMessage::ChannelAftertouch { .. } => 0xD,
            MidiMessage::PitchBend { .. } => 0xE,
        }
    }
/// Get the raw status nibble for this MIDI message type.
Get the raw status nibble for this MIDI message type.
Get the raw status nibble for this MIDI message type .
pub(crate) fn status_nibble(&self) -> u8 {
        match self {
            MidiMessage::NoteOff { .. } => 0x8,
            MidiMessage::NoteOn { .. } => 0x9,
            MidiMessage::Aftertouch { .. } => 0xA,
            MidiMessage::Controller { .. } => 0xB,
            MidiMessage::ProgramChange { .. } => 0xC,
            MidiMessage::ChannelAftertouch { .. } => 0xD,
            MidiMessage::PitchBend { .. } => 0xE,
        }
    }
pub ( crate ) fn status_nibble ( & self ) -> u8 { match self { MidiMessage :: NoteOff { .. } => 0x8 , MidiMessage :: NoteOn { .. } => 0x9 , MidiMessage :: Aftertouch { .. } => 0xA , MidiMessage :: Controller { .. } => 0xB , MidiMessage :: ProgramChange { .. } => 0xC , MidiMessage :: ChannelAftertouch { .. } => 0xD , MidiMessage :: PitchBend { .. } => 0xE , } }
Get the raw status nibble for this MIDI message type.
Get the raw status nibble for this MIDI message type .
&self
&self