[CM] cl/clm mutliple combs

2014-06-24 Thread James Hearon
Hi, I'm stuck on a bit of info from snd/clm manual re: summing combs. I was able to do it in snd/clm using comb-bank, but I'm stuck on cl/clm approach where you need to loop thru and sum the combs. Hoping I can get some help with my code, below. I may have made a mess of it, but can't seem to

Re: [CM] cl/clm mutliple combs

2014-06-24 Thread Bill Schottstaedt
It looks like you're mixing up scheme (set!) and CL (run); Here is a CL version: (definstrument mult-combs (beg dur freq amp) (let* ((start (floor (* beg *srate*))) (end (+ start (floor (* dur *srate* (os (make-oscil freq)) (combs (make-array 3)) (sum