An error that can occur when trying to connect to a port.
An error that can occur during initialization (i.e., while
creating a MidiInput
or MidiOutput
object).
An instance of MidiInput
is required for anything related to MIDI input.
Create one with MidiInput::new
.
Represents an open connection to a MIDI input port.
An object representing a single input port.
How the port is identified internally is backend-dependent.
If the backend allows it, port objects remain valid when
other ports in the system change (i.e. it is not just an index).
An instance of MidiOutput
is required for anything related to MIDI output.
Create one with MidiOutput::new
.
Represents an open connection to a MIDI output port.
An object representing a single output port.
How the port is identified internally is backend-dependent.
If the backend allows it, port objects remain valid when
other ports in the system change (i.e. it is not just an index).