Share via


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

A MidiNoteOffMessage.

NoteOn | noteOn 144

A MidiNoteOnMessage.

PolyphonicKeyPressure | polyphonicKeyPressure 160

A MidiPolyphonicKeyPressureMessage.

ControlChange | controlChange 176

A MidiControlChangeMessage.

ProgramChange | programChange 192

A MidiControlChangeMessage.

ChannelPressure | channelPressure 208

A MidiChannelPressureMessage.

PitchBendChange | pitchBendChange 224

A MidiPitchBendChangeMessage.

SystemExclusive | systemExclusive 240

A MidiSystemExclusiveMessage.

MidiTimeCode | midiTimeCode 241

A MidiTimeCodeMessage.

SongPositionPointer | songPositionPointer 242

A MidiSongPositionPointerMessage.

SongSelect | songSelect 243

A MidiSongSelectMessage.

TuneRequest | tuneRequest 246

A MidiTuneRequestMessage.

TimingClock | timingClock 248

A MidiTimingClockMessage.

Start | start 250

A MidiStartMessage.

Continue | continue 251

A MidiContinueMessage.

Stop | stop 252

A MidiStopMessage.

ActiveSensing | activeSensing 254

A MidiActiveSensingMessage.

SystemReset | 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.

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

See also

MIDI Windows Runtime sample