Expand description
USB MIDI 1.0 class.
Modules§
Structs§
- Midi
Packet - Packet containing the encoded event.
- Midi
Packet Reader - Reader for iterating over MIDI packets in a USB bulk transfer.
- Midi
Packet Writer - Writer for accumulating MIDI packets in a USB bulk transfer buffer.
Enums§
- Midi
Jack Type - Whether a MIDI jack is inside the USB device or connected externally (USB-MIDI 1.0 Table A-3).
- Midi
Packet Error - Packet errors.
Constants§
- MAX_
MIDI_ JACKS - Maximum jacks or virtual cables per MIDIStreaming endpoint (4-bit cable number).
- MIDI_
PACKET_ SIZE - Size of one event packet in bytes.
- USB_
AUDIO_ CLASS - This should be used as
device_classwhen building theUsbDevice.