usb_protocol.types.descriptors.midi1 module

Descriptors for USB MIDI Class Devices

[Midi10] refers to “Universal Serial Bus Device Class Definition for MIDI Devices”, Release 1.0, November 1, 1999

class usb_protocol.types.descriptors.midi1.MidiStreamingEndpointDescriptorSubtypes(value)[source]

Bases: IntEnum

An enumeration.

DESCRIPTOR_UNDEFINED = 0
MS_GENERAL = 1
class usb_protocol.types.descriptors.midi1.MidiStreamingInterfaceDescriptorSubtypes(value)[source]

Bases: IntEnum

An enumeration.

ELEMENT = 4
MIDI_IN_JACK = 2
MIDI_OUT_JACK = 3
MS_DESCRIPTOR_UNDEFINED = 0
MS_HEADER = 1
class usb_protocol.types.descriptors.midi1.MidiStreamingJackTypes(value)[source]

Bases: IntEnum

An enumeration.

EMBEDDED = 1
EXTERNAL = 2
JACK_TYPE_UNDEFINED = 0