Clamps Overview
Setting the number of MIDI ports
The default number of MIDI ports can be set in the init file with the variable *num-midi-ports*. It defaults to 2:
(setf *num-midi-ports* 4)
This will create four midi-ports named :midi-1, :midi-2, :midi-3 and :midi-4.
When using the :jackmidi API, these ports will show up in the
jack midi tabs and devices can get connected to these ports using
the commandline or an application like qjackctl.
When using the :portmidi API, these ports will have to be
connected using Clamps functions (see Portmidi API).