Clamps Overview
MIDI configuation
Setting the MIDI API
Currently Clamps supports two MIDI APIs, :jackmidi (the
default) and :portmidi. Both APIs can get used
simultaneously. In order to enable jackmidi, the file
~/.incudinerc needs to contain the following line:
(setq *enable-jack-midi* t)
When using portmidi, add the following lines to ~/.incudinerc:
(setq *enable-portmidi-output-sample-offset* t) (setq *midi-input-timeout* 8)
As both APIs can be used simultaneously in Clamps or Incudine,
all of the above three lines can be added to ~/.incudinerc
without any problems.
When starting Clamps, the default MIDI API used on startup can be
set in the Clamps init file. For :jackmidi, add the following
line to ~/.clampsinit.lisp:
(setf *default-midi-api* :jackmidi)
For :portmidi, add the following line:
(setf *default-midi-api* :portmidi)
If the above line is omitted, the MIDI API defaults to :jackmidi.