Crate midir
Available on crate feature
dep_midir
only.Expand description
midir
A cross-platform, realtime MIDI processing library.
Modules§
Structs§
- 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
orMidiOutput
object). - An instance of
MidiInput
is required for anything related to MIDI input. Create one withMidiInput::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 withMidiOutput::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).
Enums§
- The kind of error for a
ConnectError
. - An enum that is used to specify what kind of MIDI messages should be ignored when receiving messages.
- An error that can occur when retrieving information about available ports.
- An error that can occur when sending MIDI messages.
Traits§
- Trait that abstracts over input and output ports.
Type Aliases§
- A collection of input ports.
- A collection of output ports.