NOW LOADING

WinRT API Main Namespace Overview


Root namespace for the Windows MIDI Services WinRT API
Windows.Devices.Midi2

This is the main namespace. It holds the types almost every application uses: MidiSession and MidiEndpointConnection for connecting to endpoints and sending and receiving messages, the message types, MidiClock for timestamps, and MidiGroup and MidiChannel.

To find the endpoints you can connect to, see the Enumeration namespace.

Types in this namespace

Click or tap the type name to view more details.

Type Description
IMidiEndpointConnectionSource The parts of an endpoint connection that a message processing plugin can use
IMidiEndpointMessageProcessingPlugin Interface implemented by any type which can be an endpoint processing plugin in the client WinRT API
IMidiMessageReceivedEventSource Interface for any class that raises the MessageReceived event
IMidiUniversalPacket Common interface implemented by the MidiMessageXX runtime classes.
MidiApi Class used for API information and startup
MidiApiContracts API contracts used by the Windows MIDI Services WinRT API namespaces
MidiApiMode Indicates the currently active MIDI API mode
MidiChannel Class used to provide formatting and data validation for MIDI 1.0 and MIDI 2.0 channels.
MidiClock Used for all timestamps in Windows MIDI Services.
MidiEndpointConnection The primary way to send and receive messages with an endpoint.
MidiEndpointConnection COM Extensions Fast and no-allocation message send/receive for a MidiEndpointConnection
MidiEndpointConnectionSettings Settings used when creating a connection to a MIDI endpoint
MidiGroup Represents a MIDI 2.0 group and performs data validation per the specification
MidiMessage128 Represents a four-word (128-bit) UMP message
MidiMessage32 Represents a one-word (32-bit) UMP message
MidiMessage64 Represents a two-word (64-bit) UMP message
MidiMessage96 Represents a three-word (96-bit) UMP message
MidiMessageProcessingPluginAddResult Return value when adding a message processing plugin to a connection
MidiMessageReceivedEventArgs Argument supplied when an incoming MIDI message is received
MidiMessageStruct Represents a MIDI message in struct format
MidiMessageType Represents the type of a UMP message
MidiPacketType Indicates the number of words in a MIDI message
MidiSendMessageResults Return value when sending a MIDI message
MidiSession The first class you will create when connecting to an endpoint
MidiSystemTimerSettings Information about the current Windows system timer configuration
MidiUniversalSystemExclusiveChannel Holds and checks the channel number in a Universal System Exclusive message

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.