Crate midir

source ·

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 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).

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 Definitions

A collection of input ports.
A collection of output ports.