Expand description
USB MIDI 1.0 and 2.0 class.
Re-exports§
Modules§
- device
- MIDI class implementation.
- gtb
- USB MIDI 2.0 Group Terminal Block (GTB) definitions and serialization.
- host
- USB MIDI 1.0 host class driver.
- ump
- Universal MIDI Packet (UMP) processing for MIDI 2.0.
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.