Clamps Dictionary
clamps
Function
(clamps &key (gui-base "/tmp") (qsynth nil) (open-gui nil))
Start Clamps including the Gui. This function can be called from the :cl-user package.
Apart from starting the webserver for the Gui, the function also:
- Starts the OSC responder for Inkscape.
- Starts the realtime engine and sets up MIDI ports and receivers by calling rts.
- Creates groups and buses for incudine dsps (see the Chapter General Incudine Setup.
- Starts the documentation acceptor for the online doc at http://localhost:8282/overview/index.html.
The following directories will be created in the gui-base path if they don't exist:
- <gui-base>/ats/
- <gui-base>/snd/
- <gui-base>/www/
- <gui-base>/www/svg/
The latter is the file path for svg files used in the <clamps-base-url>/svg-display page of the Gui.
Any files which need to be accessible by the Gui have to be put into the <gui-base>/www/ subdirectory with their filenames relative to this directory.
Arguments
:gui-base |
String or Pathname indicating where to put the www subfolder for files accessible by the gui (nicknamed <clamps-gui-root>). |
:open-gui |
Boolean indicating whether to open the <clamps-base-url> in a browser window after starting the gui. |
:qsynth |
Boolean indicating whether to start the Qsynth softsynth (Linux only). |
Created: 2025-02-18 Di 12:58