MidiMessageType enumeration
[This documentation is preliminary and is subject to change.]
Provides constants used to map MIDI message types into their corresponding byte codes.
Important
The WindowsPreview.Devices.Midi API are preview API and are not included in the Windows Software Development Kit (SDK). The API are distributed as a NuGet package. See WindowsPreview.Devices.Midi for info on how to download and install the NuGet package in your project.
WindowsPreview.Devices.Midi API require Windows 8.1 Update and later.
Syntax
var value = WindowsPreview.Devices.Midi.MidiMessageType.none;
public enum MidiMessageType
Public Enum MidiMessageType
public enum class MidiMessageType
Attributes
[Version(0x06030000)]
Members
The MidiMessageType enumeration has these members.
Member | Value | Description |
---|---|---|
None | none | 0 | None |
NoteOff | noteOff | 128 | |
NoteOn | noteOn | 144 | |
PolyphonicKeyPressure | polyphonicKeyPressure | 160 | |
ControlChange | controlChange | 176 | |
ProgramChange | programChange | 192 | |
ChannelPressure | channelPressure | 208 | |
PitchBendChange | pitchBendChange | 224 | |
SystemExclusive | systemExclusive | 240 | |
MidiTimeCode | midiTimeCode | 241 | |
SongPositionPointer | songPositionPointer | 242 | |
SongSelect | songSelect | 243 | |
TuneRequest | tuneRequest | 246 | |
TimingClock | timingClock | 248 | |
Start | start | 250 | |
Continue | continue | 251 | |
Stop | stop | 252 | |
ActiveSensing | activeSensing | 254 | |
SystemReset | 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.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
WindowsPreview.Devices.Midi WindowsPreview::Devices::Midi [C++] |
Metadata |
WindowsPreview.winmd |