Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: clamps-base-url , Previous: chan , Up: C , Home: Overview

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:

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).

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate