[CM] define an instrument?

Fernando Pablo Lopez-Lezcano nando at ccrma.Stanford.EDU
Sat Apr 24 15:56:02 PDT 2004


> 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





More information about the Cmdist mailing list