Enum MidiMessage
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum MidiMessage : long
Fields
ActiveSensing = 254
MIDI 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.
Aftertouch = 10
MIDI message sent to indicate a change in pressure while a note is being pressed down, also called aftertouch.
ChannelPressure = 13
MIDI message sent to indicate a change in pressure for the whole channel. Some MIDI devices may send this instead of Aftertouch.
Continue = 251
MIDI message sent to resume from the point the current sequence or song was paused.
ControlChange = 11
MIDI 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.
None = 0
Does not correspond to any MIDI message. This is the default value of Message.
NoteOff = 8
MIDI message sent when a note is released.
Note: Not all MIDI devices send this message; some may send NoteOn with Velocity set to
0
.NoteOn = 9
MIDI message sent when a note is pressed.
PitchBend = 14
MIDI message sent when the value of the pitch bender changes, usually a wheel on the MIDI device.
ProgramChange = 12
MIDI message sent when the MIDI device changes its current instrument (also called program or preset).
QuarterFrame = 241
MIDI message sent every quarter frame to keep connected MIDI devices synchronized. Related to TimingClock.
Note: Getting this message's data from InputEventMidi is not implemented.
SongPositionPointer = 242
MIDI 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.
SongSelect = 243
MIDI message sent to select a sequence or song to play.
Note: Getting this message's data from InputEventMidi is not implemented.
Start = 250
MIDI message sent to start the current sequence or song from the beginning.
Stop = 252
MIDI message sent to pause the current sequence or song.
SystemExclusive = 240
MIDI 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.
SystemReset = 255
MIDI 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.
TimingClock = 248
MIDI message sent 24 times after QuarterFrame, to keep connected MIDI devices synchronized.
TuneRequest = 246
MIDI message sent to request a tuning calibration. Used on analog synthesizers. Most modern MIDI devices do not need this message.