[][src]Enum libatm::midi_event::MIDIStatus

pub enum MIDIStatus {
    RunningStatus,
    NoteOff,
    NoteOn,
    PolyphonicAftertouch,
    ControlChange,
    ProgramChange,
    Aftertouch,
    PitchWheelChange,
}

MIDI message status

Each MIDI event (message) has a status, which sets the message type and thus the meaning of the associated message data. Technically the status bits also include the channel number, but this library currently only supports single track, single channel MIDI files (and thus defaults to channel 0). For a detailed description of each status type, see Appendix 1.1 of the document here: https://www.cs.cmu.edu/~music/cmsip/readings/Standard-MIDI-file-format-updated.pdf.

Variants

RunningStatus

Assume status bytes of previous MIDI channel message

NoteOff

Note released

NoteOn

Note pressed

PolyphonicAftertouch

Pressure on key after pressed down

ControlChange

Controller value change

ProgramChange

Change program (patch) number

Aftertouch

Greatest pressure on key after pressed down

PitchWheelChange

Chainge pitch wheel

Trait Implementations

impl Clone for MIDIStatus[src]

impl Copy for MIDIStatus[src]

impl Debug for MIDIStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for MIDIStatus

impl Send for MIDIStatus

impl Sync for MIDIStatus

impl Unpin for MIDIStatus

impl UnwindSafe for MIDIStatus

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.