Share via


MidiMessageType Enum

Definition

Specifies constants used to map MIDI message types into their corresponding byte codes.

public enum class MidiMessageType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MidiMessageType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MidiMessageType
var value = Windows.Devices.Midi.MidiMessageType.none
Public Enum MidiMessageType
Inheritance
MidiMessageType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

Specifies no message type.

NoteOff 128

A MidiNoteOffMessage.

NoteOn 144

A MidiNoteOnMessage.

PolyphonicKeyPressure 160

A MidiPolyphonicKeyPressureMessage.

ControlChange 176

A MidiControlChangeMessage.

ProgramChange 192

A MidiControlChangeMessage.

ChannelPressure 208

A MidiChannelPressureMessage.

PitchBendChange 224

A MidiPitchBendChangeMessage.

SystemExclusive 240

A MidiSystemExclusiveMessage.

MidiTimeCode 241

A MidiTimeCodeMessage.

SongPositionPointer 242

A MidiSongPositionPointerMessage.

SongSelect 243

A MidiSongSelectMessage.

TuneRequest 246

A MidiTuneRequestMessage.

EndSystemExclusive 247

A MidiSystemExclusiveMessage.

TimingClock 248

A MidiTimingClockMessage.

Start 250

A MidiStartMessage.

Continue 251

A MidiContinueMessage.

Stop 252

A MidiStopMessage.

ActiveSensing 254

A MidiActiveSensingMessage.

SystemReset 255

A SystemResetMessage.

Remarks

Channel message values are put into the high nibble of the status byte of the Midi message.

System messages represent the entire status byte.

These values are pre-defined by the MIDI specification. The reserved system message bytes have been omitted.

Applies to

See also