Expand description
USB MIDI 1.0 host class driver.
USB MIDI 1.0 transports one or more virtual MIDI cables over bulk endpoints. Each transfer consists of four-byte USB-MIDI event packets.
Modules§
- raw
- Advanced descriptor and endpoint-level USB-MIDI APIs.
Structs§
- Midi
Host - Friendly host driver for one USB MIDI 1.0 streaming interface.
- Midi
Input Port - A logical device-to-host MIDI port discovered from a USB cable association.
- Midi
Output Port - A logical host-to-device MIDI port discovered from a USB cable association.
- Received
Midi Packet - One received USB-MIDI event packet and its logical input port.
- Received
Midi Packets - Iterator over the logical MIDI packets in one received USB transfer.
- Receiver
- USB-MIDI device-to-host packet receiver.
- Sender
- USB-MIDI host-to-device packet sender.
- UsbMidi
Event Packet - One USB-MIDI 1.0 event packet.
Enums§
- Midi
Error - USB MIDI host error.
- Midi
Packet Error - Error constructing a USB-MIDI 1.0 event packet from MIDI bytes.
Constants§
- EVENT_
PACKET_ SIZE - USB-MIDI event packet size.
Functions§
- event_
packets - Iterate over complete USB-MIDI event packets in a transfer.