Jump to content
Sign in to follow this  
opmo

CLM Installation in Opusmodus 1.3

Recommended Posts

CLM Installation

 

Common Lisp Music, by William Schottstaedt is a powerful sound synthesis language implemented in Lisp and C. CLM is essentially a toolbox for instrument building. Although it comes with a number of instruments ready to use, most composers use CLM to define their own instruments.

 

For those of you that wish to dive into CLM sound synthesis system, I advise everyone to read this document carefully first.

 

1. Command Line Tools

 

First you need to find out if  "command line tools" are installed in your system.

The C compiler is essential at the instrument compile and load time.

 

Launch the Terminal, found in /Applications/Utilities/

To check if command line tools are installed run:

xcode-select --version

 

if installed you will see the below with the version found in your system, something like that:

xcode-select version 1234

 

If command line tools are not installed run:

xcode-select --install

 

A software update popup window will appear that asks: The xcode-select command requires the command line developer tools. Would you like to install the tools now? choose to confirm this by clicking “Install”, then agree to the Terms of Service when requested. Wait for the Command Line Tools package download to complete, it’ll be about 130MB and installs fairly quickly depending on your connection speed. The installer goes away on its own when complete. Enjoy your new unix command line toolkit!

 

2. Load and Compile Instruments

 

CLM system comes with a number of instruments which are a great starting point to see and hear CLM in action. Some of them are simple others are complex. Before you can run any of the instruments you must compile them first. To do that you need to open and evaluate a file "Load CLM Instrument.lisp", you will find the file in the CLM directory. This process will take a minute or so and it will create binary and dynamic library files for each of the instruments. The binary files will be saved in the bin directory and the library files will be saved in the libclm directory. After this process is completed you are ready to run the CLM Examples. If you wish to load your instruments at the startup of the app move the "Load CLM Instrument.lisp" file into the “~/Opusmodus/Extensions/“ directory.

 

Thats all you need to do to make CLM system work in Opusmodus.

 

Best wishes,

Janusz

 

Share this post


Link to post
Share on other sites

Hi Janusz, thank you for implementing this, very cool stuff!
I followed the instructions carefully but I am getting this warning now on startup or when trying to compile setup-ins directly from the "Load CLM Instruments" file.
 

> Error: Undefined function SETUP-INS called with arguments ("add" "addflt" "addsnd" "anoi" "arith" "arith1" "arith2" "autoc" "backandforth" "badd" "bandedwg" "bell" "bigbird" "bird" "bowl" "btest" "canter" "cellon" "circular-scanned" "cnv" ...) .
> While executing: CCL::TOPLEVEL-EVAL, in process Listener-2(22).
> Type cmd-/ to continue, cmd-. to abort, cmd-\ for a list of available restarts.
> If continued: Retry applying SETUP-INS to ("add" "addflt" "addsnd" "anoi" "arith" "arith1" "arith2" "autoc" "backandforth" "badd" "bandedwg" "bell" "bigbird" "bird" "bowl" "btest" "canter" "cellon" "circular-scanned" "cnv" ...).
> Type :? for other options.
1 > 

This happened after upgrading to 1.3.24662, any ideas as to what causes this?

Share this post


Link to post
Share on other sites

You need the new "Load CLM Instruments.lisp" file. To get the updated file you would need to install the new Opusmodus folder by deleting the Opusmodus user folder first etc...

Anyway here it is, just replace the old "Load CLM Instruments.lisp" file with this one:

 

Load CLM Instruments.lisp

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...