[][src]Enum embedded_midi::MidiMessage

pub enum MidiMessage {
    NoteOff(ChannelNote, Value7),
    NoteOn(ChannelNote, Value7),
    KeyPressure(ChannelNote, Value7),
    ControlChange(ChannelControl, Value7),
    ProgramChange(ChannelProgram),
    ChannelPressure(Channel, Value7),
    PitchBendChange(Channel, Value14),
    QuarterFrame(QuarterFrame),
    SongPositionPointer(Value14),
    SongSelect(Value7),
    TuneRequest,
    TimingClock,
    Start,
    Continue,
    Stop,
    ActiveSensing,
    Reset,
}

An enum with variants for all possible Midi messages.

Variants

NoteOff(ChannelNote, Value7)

Note Off message

NoteOn(ChannelNote, Value7)

Note on message

KeyPressure(ChannelNote, Value7)

KeyPressure message for polyphonic aftertouch

ControlChange(ChannelControl, Value7)

Control change message

ProgramChange(ChannelProgram)

Program change message

ChannelPressure(Channel, Value7)

Channel pressure message for channel aftertouch

PitchBendChange(Channel, Value14)

Pitch bend message

QuarterFrame(QuarterFrame)

System exclusive message starts System exclusive data is received Signals the end of the system exclusive block Midi time code quarter frame

SongPositionPointer(Value14)

Set the song position pointer

SongSelect(Value7)

Specifies which sequence or song is to be played

TuneRequest

Tune all oscillators

TimingClock

Timing tick message

Start

Start message

Continue

Continue message

Stop

Stop message

ActiveSensing

Active sensing message

Reset

Reset message

Trait Implementations

impl Clone for MidiMessage[src]

impl Debug for MidiMessage[src]

impl PartialEq<MidiMessage> for MidiMessage[src]

impl StructuralPartialEq for MidiMessage[src]

Auto Trait Implementations

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, 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.