[CM] installing and runing clm on osx

Rick Taube taube@uiuc.edu
Tue, 15 May 2007 17:22:10 -0500


> Thanks so much,
> That worked! Now it's beginning to make sense. So every time I want to
> run clm I need to load all.lisp.

yes. if you have cm loaded you can do
	(use-system :clm)
	(cload "/lisp/v.ins")
and so on

> Now I'm ready to start learning clm
> :)

all of the files that end in .ins are instruments that you can edit,  
compile and load. look in the file clm-3/ins   for a list of all the  
predefined instuments in clm. basically the whole history of synthesis!

On May 15, 2007, at 4:49 PM, peiman khosravi wrote:

> Thanks so much,
> That worked! Now it's beginning to make sense. So every time I want to
> run clm I need to load all.lisp. Now I'm ready to start learning clm
> :)
>
> Best
> Peiman
>
> On 15/05/07, Rick Taube <taube@uiuc.edu> wrote:
>> here is a trace of me untarring clm, starting openmcl, loading clm
>> and listening to the fm-violin toot.
>>
>> galen:/Lisp hkt$ tar -zxf clm-3.tar.gz
>> galen:/Lisp hkt$ cd clm-3
>> galen:/Lisp/clm-3 hkt$ openmcl
>> Welcome to OpenMCL Version 1.0-p060223 (DarwinPPC32)!
>>
>> ? (load "all.lisp")
>> ;   running cd /Lisp/clm-3/ && ./configure --quiet --with-doubles --
>> with-float-samples
>> ; Compiling "/Lisp/clm-3/io.c"
>> ; Compiling "/Lisp/clm-3/headers.c"
>> ; Compiling "/Lisp/clm-3/audio.c"
>> ; Compiling "/Lisp/clm-3/sound.c"
>> ; Compiling "/Lisp/clm-3/clm.c"
>> ; Compiling "/Lisp/clm-3/sc.c"
>> ; Compiling "/Lisp/clm-3/cmus.c"
>> ; Creating "/Lisp/clm-3/libclm.dylib"
>> ;;gcc  -dynamiclib -o /Lisp/clm-3/libclm.dylib /Lisp/clm-3/ 
>> headers.o /
>> Lisp/clm-3/audio.o /Lisp/clm-3/io.o /Lisp/clm-3/sound.o /Lisp/clm-3/
>> clm.o /Lisp/clm-3/cmus.o /Lisp/clm-3/sc.o  -L/usr/X11R6/lib -lX11  -
>> lm -lc -framework CoreAudio
>> ; Building sndplay program: "/Lisp/clm-3/sndplay"
>> ;Compiler warnings for "/Lisp/clm-3/ffi.lisp" :
>> ;   Unused lexical variable DEV, in SL-DAC-1.
>> ;   Unused lexical variable NAME, in SL-DAC-1.
>> ;Compiler warnings for "/Lisp/clm-3/sound.lisp" :
>> ;   Unused lexical variable CALLS, in SOUND-LET.
>> ;Compiler warnings for "/Lisp/clm-3/env.lisp" :
>> ;   Unused lexical variable XX, in ENVELOPE-REPEAT.
>> ;Compiler warnings for "/Lisp/clm-3/clm-snd.lisp" :
>> ;   Unused lexical variable ARGS, in <SEND-SND>.
>> ;   Unused lexical variable FSTR, in <SEND-SND>.
>> ;   Unused lexical variable RESULT, in <SEND-SND>.
>> #P"/Lisp/clm-3/all.lisp"
>>
>> ? (load (compile-file "v.ins"))
>> ; Writing "/Lisp/clm-3/clm_fm_violin.c"
>> ; Compiling "/Lisp/clm-3/clm_fm_violin.c"
>> #P"/Lisp/clm-3/v.dfsl"
>>
>> ? (with-sound () (fm-violin 0 10 440 .2))
>> "test.aiff"
>> ?
>>
>> On May 15, 2007, at 2:32 PM, peiman khosravi wrote:
>>
>> > Hello everyone,
>> >
>> > I am completely new to clm and lisp (although I have used openmusic
>> > before) so please forgive the newbie question.
>> >
>> > I am on osx 10.4.9 powerbook ppc. I have already installed  
>> openmcl and
>> > I can run it from the terminal with no problems. However I cannot
>> > manage to build and install clm using all.lisp. Where I load  
>> all.lisp
>> > it all seems to go according to plan but afterwards I am unable  
>> to run
>> > any of the examples that come with the clm package.
>> >
>> > I believe I have all the xcode packages installed but is there a  
>> way
>> > to check this as I don't want to reinstall xcodes unneccesarily  
>> if I
>> > already have everything. Maybe I am doing something wrong when  
>> trying
>> > to run clm: do I start openmcl and run clm from there? How is  
>> openmcl
>> > supposed to find clm? Is there a way to check if clm is  
>> installed on
>> > my system?
>> >
>> > Sorry for all these questions. I would very much appreciate any
>> > suggestions.
>> > Many Thanks
>> > Peiman
>> >
>> > _______________________________________________
>> > Cmdist mailing list
>> > Cmdist@ccrma.stanford.edu
>> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>>