MidiMessageType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 | |
NoteOn | 144 | |
PolyphonicKeyPressure | 160 | |
ControlChange | 176 | |
ProgramChange | 192 | |
ChannelPressure | 208 | |
PitchBendChange | 224 | |
SystemExclusive | 240 | |
MidiTimeCode | 241 | |
SongPositionPointer | 242 | |
SongSelect | 243 | |
TuneRequest | 246 | |
EndSystemExclusive | 247 | |
TimingClock | 248 | |
Start | 250 | |
Continue | 251 | |
Stop | 252 | |
ActiveSensing | 254 | |
SystemReset | 255 |
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.