MIDIClient is the core class that provides access to the MIDI subsystem on your computer.
See the Using MIDI helpfile for practical considerations and techniques for using MIDI in SC.
Initializes the MIDIClient, checks which available MIDI sources and destinations there are, and opens as many connections as desired.
inports |
the number of MIDI input connections to open; if |
outports |
the number of MIDI output connections to open; if |
verbose |
A flag whether or not to post the MIDI sources and destinations that were found. Default is true. |
A flag that tells whether of not the MIDIClient has been initialized.
Cleans up the MIDIClient. After using this method, you will have to reinitialize the MIDIClient before you can use MIDI again.
Created the list of available sources and destinations.
The list of available MIDI sources, including SuperCollider's own sources.
A List
of MIDIEndPoints
The list of available MIDI sources, excluding SuperCollider's own sources. Only on Linux the list of sources
and externalSources
differs.
A List
of MIDIEndPoints
The list of available MIDI destinations, including SuperCollider's own destinations.
A List
of MIDIEndPoints
The list of available MIDI destinations, excluding SuperCollider's own destinations. Only on Linux the list of destinations
and externalDestinations
differs.
A List
of MIDIEndPoints
Restart the MIDIClient.
The number of input ports that SuperCollider created. This is mainly useful to know on the Linux platform.
The number of output ports that SuperCollider created. This is mainly useful to know on the Linux platform.
Linux only. This gets the client ID by which the MIDIClient is defined in the ALSA subsystem. It can be used to identify whether a port is belonging to this client or another one.
On non-linux systems, it posts a warning and returns nil.