[CM] define an instrument?
taube at uiuc.edu
taube at uiuc.edu
Sat Apr 24 16:08:42 PDT 2004
you also need to observe the syntax of definstument. you must
supply an parameter list even if its a null list:
(definstrument rr ()
(run (loop ...)))
the () is null parameter list -- that list is not the same as
no parameter list as all, as your example.
---- Original message ----
>Date: 24 Apr 2004 15:56:02 -0700
>From: Fernando Pablo Lopez-Lezcano <nando at ccrma.Stanford.EDU>
>Subject: Re: [CM] define an instrument?
>To: alin weiller <alinweiller at caramail.com>
>Cc: list CM <cmdist at ccrma.Stanford.EDU>
>
>> 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
>
>
>_______________________________________________
>Cmdist mailing list
>Cmdist at ccrma.stanford.edu
>http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
More information about the Cmdist
mailing list