[CM] <kein Betreff>

Bernd Althaus bernd.althaus@web.de
Wed, 12 Apr 2006 21:45:54 +0200


Hello,
I tried to compile a simple clm instrument in the cm 2.8.0 app under OS X 10.3.9 and got the following errors. (It worked in 2.6.0.)

(definstrument simple1 (start-time duration frequency amplitude)
  (let* ((start-sample (* start-time *srate*))
         (end-sample (+ start-sample (* duration *srate*)))
         (oscillator (make-oscil :frequency frequency)))
    (run
     (loop for index from start-sample to end-sample do
          (outa index (* amplitude (oscil oscillator)))))))

-------------------

CM> (compile-file "simple1.ins")
;Compiler warnings for "/Users/balthaus/lisp/clm/ins/simple1.ins" :
;   Undeclared free variable SIMPLE1, in an anonymous lambda form.
;   Undeclared free variable START-TIME, in an anonymous lambda form.
;   Undeclared free variable DURATION (2 references), in an anonymous lambda form.
;   Undeclared free variable *SRATE* (2 references), in an anonymous lambda form.
;   Undeclared free variable FREQUENCY (2 references), in an anonymous lambda form.
;   Undeclared free variable AMPLITUDE (2 references), in an anonymous lambda form.
;Compiler warnings for "/Users/balthaus/lisp/clm/ins/simple1.ins" :
;   Undefined function OSCIL, in an anonymous lambda form.
;   Undefined function OUTA, in an anonymous lambda form.
;   Undefined function RUN, in an anonymous lambda form.
;   Undefined function MAKE-OSCIL, in an anonymous lambda form.
;   Undefined function START-TIME, in an anonymous lambda form.
;   Undefined function DEFINSTRUMENT, in an anonymous lambda form.

#P"/Users/balthaus/lisp/clm/ins/simple1.dfsl"
T
T
CM> 

What I have to do to make it work?
Thanks for help.
Bernd
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192