NOW LOADING

MidiEndpointNativeDataFormat


The data format that the device expects to send to and receive from Windows
Namespace Microsoft.Windows.Devices.Midi2
Type Name MidiEndpointNativeDataFormat
Type WinRT Enumeration (a 32-bit unsigned or signed integer)
IDL MidiEndpointNativeDataFormatEnum.idl
Library Microsoft.Windows.Devices.Midi2.dll

Represents the data format that the device expects to send to and to receive from Windows. This is not necessarily the same format as what the driver receives from Windows.

Scenario Value
MIDI 2.0 device connected to the new UMP MIDI 2.0 driver UniversalMidiPacketFormat
MIDI 2.0 device connected to the MIDI 1.0 class driver, using fallback mode Midi1ByteFormat
MIDI 1.0 device connected to the new UMP MIDI 2.0 driver Midi1ByteFormat
MIDI 1.0 device connected to a vendor driver Midi1ByteFormat
MIDI 1.0 device connected to the MIDI 1.0 class driver Midi1ByteFormat

Of course, when sending messages through the app SDK, you always use the Universal MIDI Packet (UMP) format. The MIDI Service will handle the translation between formats.

Properties

Property Value Description
Unknown 0 Unknown native data format
Midi1ByteFormat 1 The native data format is the MIDI 1.0 byte message format
UniversalMidiPacketFormat 2 The native data format is the Universal MIDI Packet data format

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.