[CM] cycle in weighting question
Heinrich Taube
taube at uiuc.edu
Sun Apr 5 06:15:47 PDT 2009
hi weights are adjusted once every period, so to have the weights
change each time you call next set the period length of that stream to 1
On Apr 5, 2009, at 7:34 AM, Achim Bornhoeft wrote:
> Hello,
> maybe somebody can explain this to me:
> Why in this case the lists are always completely cycled before a new
> weighting is applied?
>
> (define (pat1 reps weight1 weight2)
> (let ((c (new weighting :of `((,(new cycle :of '(-1
> 1)) :weight ,weight1)
> (,(new cycle :of '(-2 4 -2)) :weight ,weight2 :max 1)))))
> (loop repeat reps collect (next c))))
>
> ;; (pat1 50 90 10)
>
> Thanks,
> Achim
>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
More information about the Cmdist
mailing list