Ports
MidiIn
Bases: _MidiPortMixin
, Input
MIDI input port. Produces MidiMsg
objects.
Parameters:
-
port_name
(str
) –MIDI input port name
-
virtual
(bool
, default:False
) –Create virtual port (Linux and macOS only)
calls
Message match arguments and callables that will be called with matching incoming messages.
None
conditions matches any message.
attached_passthrough_outs
MidiOut
ports attached as pass-through ports
which will send all incoming messages as soon as they arrive before sending them to calls