Re: [CM] type double-float

2014-07-10 Thread Bill Schottstaedt
Is it possible that you forgot to load all.lisp?  In sbcl

(load "all.lisp")
(compile-file "moog.lisp")
(load "moog")
(compile-file "filter-noise.ins")
(load "filter-noise")

then try the example in filter-noise.ins.

This doesn't work in clisp (some loop-finish complaint), but it's
been about 20 years since I last looked at it, and I can't remember
what the clisp problem was.


___
Cmdist mailing list
Cmdist@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist



[CM] type double-float

2014-07-10 Thread James Hearon
Hi,
I'm trying to figure out how to solve a double-float undefined error for the 
mapcar statement in Fernando's moog.lisp instrument in sbcl, emacs, slime, clm.

Should I try to define the double-float type in moog.lisp or is it something I 
need to be doing from sbcl, or clm?


(defparameter moog-gaincoeffs
'(0.69 0.990082 0.980347 0.970764 0.961304 0.951996 0.94281 0.933777 
0.924866 0.916077 
  0.90741 0.898865 0.890442 0.882141  ... ))

(defparameter moog-gaintable
(make-double-float-array (length moog-gaincoeffs)  
 :initial-contents (mapcar #'double-float moog-gaincoeffs)))


  ___
Cmdist mailing list
Cmdist@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist