Share via


Windows.Devices.Midi Namespace

This namespace provides types for using MIDI devices in a Windows Runtime (WinRT) app.

The types included in this namespace enable you to:

  • Enumerate MIDI ports.
  • Create a MIDI port object, which opens a stream to the port.
  • Send MIDI messages.
  • Receive MIDI messages.
  • Destroy the MIDI port object, which also closes the stream to the port.

For more info about the MIDI specification, see the MIDI Association.

For conceptual documentation, see MIDI. And for a sample app showing how to use these types, see the UWP MIDI sample.

Classes

MidiActiveSensingMessage

Represents a MIDI message that specifies active sensing.

MidiChannelPressureMessage

Represents a MIDI message that specifies the channel pressure.

MidiContinueMessage

Represents a MIDI message that specifies a continue message.

MidiControlChangeMessage

Represents a MIDI message that specifies a control change.

MidiInPort

Represents a port used to receive MIDI messages from a MIDI device.

MidiMessageReceivedEventArgs

Provides data for the MessageReceived event.

MidiNoteOffMessage

Represents a MIDI messages that specifies a MIDI note to turn off.

MidiNoteOnMessage

Represents a MIDI message that specifies a MIDI note to turn on.

MidiOutPort

Represents a port used to send MIDI messages to a MIDI device.

MidiPitchBendChangeMessage

Represents a MIDI message that specifies a pitch bend change.

MidiPolyphonicKeyPressureMessage

Represents a MIDI message that specifies the polyphonic key pressure.

MidiProgramChangeMessage

Represents a MIDI message that specifies a program change.

MidiSongPositionPointerMessage

Represents a MIDI message that specifies a song position pointer.

MidiSongSelectMessage

Represents a MIDI message that specifies the selected song.

MidiStartMessage

Represents a MIDI message that specifies a start message.

MidiStopMessage

Represents a MIDI message that specifies a stop message.

MidiSynthesizer

Represents the Microsoft GS wavetable software synthesizer, included in Windows. This synthesizer provides a Roland GS sound set, which includes and extends the General MIDI sound set.

MidiSystemExclusiveMessage

Represents a MIDI message that specifies a system exclusive message.

MidiSystemResetMessage

Represents a MIDI message that specifies a system reset.

MidiTimeCodeMessage

Represents a MIDI message that specifies a time code.

MidiTimingClockMessage

Represents a MIDI message that specifies a timing clock.

MidiTuneRequestMessage

Represents a MIDI message that specifies a tune request.

Interfaces

IMidiMessage

Represents a MIDI message which is implemented by all MIDI message classes.

IMidiOutPort

Represents a single MIDI out port.

Enums

MidiMessageType

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

See also