[CM] weighting not recognized
Dan Corneliu Georgescu
geodancor at aol.com
Sat Sep 1 05:28:11 PDT 2012
Hi,
Following example doesnot work because “weighting does not name aclase”.
(define(chordy)
(let ((pat (new cycle :of (list
(new chord :of '(c4 e4 g4))
(new chord
:of (new heap
:of '(df4 ef4 gf4 af4 bf4 df5 ef5)
:for 3))
(new chord :of '(e4 a4 cs5))
(new weighting
:of '(bf3 (ef1 :weight .5 :max 2))
:for 1)))))
(process repeat 32
do (doeach (k (next pat))
(output (new midi :keynum k:time (now))))
wait .5)))
Could anyone please help me tosolve this problem? Thanks!
Cor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20120901/f8af779e/attachment-0001.html
More information about the Cmdist
mailing list