[CM] define an instrument?

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
24 Apr 2004 15:56:02 -0700


> Hi, I a very beginner, so I try to define a instrument but it doesn't work, 
> any advice?
> 
> (definstrument rr (run (loop for i from 0 below 20000 do (outa i (centered-random 1))))
> 
> ** - Continuable Error
> oops -- I can't find RR's lisp source file!

CLM instruments have to be compiled. Save the instrument in a file (for
example "filename.ins", then (compile-file "filename.ins"), (load
"filename") [or (load "filename.cmucl") if you are running cmucl].

-- Fernando