[CM] make-polyshape
James Hearon
j_hearon at hotmail.com
Sat Feb 6 10:51:07 PST 2021
Hi,
I think I figured that out by locating an ex. in test.scm.
(partials->polynomial '(1 1 3 2 6 1))
;(-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0)
instead of using the resulting eval of (partials->polynomial) as input to coeffs:
(set! gen1 (make-polyshape 440.0 :coeffs '(-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0))))
It rather seems to want the whole function call:
(set! gen1 (make-polyshape 440.0 :coeffs (partials->polynomial '(1 1))))
or
(set! gen1 (make-polyshape 440.0 :coeffs (partials->polynomial '(1 1 3 2 6 1))))
nice.
Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210206/46f8cbd2/attachment.html>
More information about the Cmdist
mailing list