Enum embedded_midi::MidiMessage [−][src]
pub enum MidiMessage {
Show 17 variants
NoteOff(Channel, Note, Value7),
NoteOn(Channel, Note, Value7),
KeyPressure(Channel, Note, Value7),
ControlChange(Channel, Control, Value7),
ProgramChange(Channel, Program),
ChannelPressure(Channel, Value7),
PitchBendChange(Channel, Value14),
QuarterFrame(QuarterFrame),
SongPositionPointer(Value14),
SongSelect(Value7),
TuneRequest,
TimingClock,
Start,
Continue,
Stop,
ActiveSensing,
Reset,
}
Expand description
An enum with variants for all possible Midi messages.
Variants
NoteOff(Channel, Note, Value7)
Note Off message
NoteOn(Channel, Note, Value7)
Note on message
KeyPressure(Channel, Note, Value7)
KeyPressure message for polyphonic aftertouch
ControlChange(Channel, Control, Value7)
Control change message
ProgramChange(Channel, Program)
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.