MidiMessage
C# enumeration.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Fields and constants19
ActiveSensingField
ActiveSensing = 254MIDI message sent repeatedly while the MIDI device is idle, to tell the receiver that the connection is alive. Most MIDI devices do not send this message.
AftertouchField
Aftertouch = 10MIDI message sent to indicate a change in pressure while a note is being pressed down, also called aftertouch.
ChannelPressureField
ChannelPressure = 13MIDI message sent to indicate a change in pressure for the whole channel. Some MIDI devices may send this instead of MIDI_MESSAGE_AFTERTOUCH.
ContinueField
Continue = 251MIDI message sent to resume from the point the current sequence or song was paused.
ControlChangeField
ControlChange = 11MIDI message sent when a controller value changes. In a MIDI device, a controller is any input that doesn't play notes. These may include sliders for volume, balance, and panning, as well as switches and pedals. See the General MIDI specification for a small list.
NoneField
None = 0Does not correspond to any MIDI message. This is the default value of InputEventMidi.Message.
NoteOffField
NoteOff = 8MIDI message sent when a note is released.
Note: Not all MIDI devices send this message; some may send MIDI_MESSAGE_NOTE_ON with InputEventMidi.Velocity set to 0.
NoteOnField
NoteOn = 9MIDI message sent when a note is pressed.
PitchBendField
PitchBend = 14MIDI message sent when the value of the pitch bender changes, usually a wheel on the MIDI device.
ProgramChangeField
ProgramChange = 12MIDI message sent when the MIDI device changes its current instrument (also called program or preset).
QuarterFrameField
QuarterFrame = 241MIDI message sent every quarter frame to keep connected MIDI devices synchronized. Related to MIDI_MESSAGE_TIMING_CLOCK.
Note: Getting this message's data from InputEventMidi is not implemented.
SongPositionPointerField
SongPositionPointer = 242MIDI message sent to jump onto a new position in the current sequence or song.
Note: Getting this message's data from InputEventMidi is not implemented.
SongSelectField
SongSelect = 243MIDI message sent to select a sequence or song to play.
Note: Getting this message's data from InputEventMidi is not implemented.
StartField
Start = 250MIDI message sent to start the current sequence or song from the beginning.
StopField
Stop = 252MIDI message sent to pause the current sequence or song.
SystemExclusiveField
SystemExclusive = 240MIDI system exclusive (SysEx) message. This type of message is not standardized and it's highly dependent on the MIDI device sending it.
Note: Getting this message's data from InputEventMidi is not implemented.
SystemResetField
SystemReset = 255MIDI message sent to reset a MIDI device to its default state, as if it was just turned on. It should not be sent when the MIDI device is being turned on.
TimingClockField
TimingClock = 248MIDI message sent 24 times after MIDI_MESSAGE_QUARTER_FRAME, to keep connected MIDI devices synchronized.
TuneRequestField
TuneRequest = 246MIDI message sent to request a tuning calibration. Used on analog synthesizers. Most modern MIDI devices do not need this message.