[CM] make-polyshape
Tito Latini
tito.01beta at gmail.com
Sun Feb 7 00:34:00 PST 2021
On Sat, Feb 06, 2021 at 06:51:07PM +0000, James Hearon wrote:
> [...]
> 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))))
Generally, it works with a float-vector, for example
#r(-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0)
or
(float-vector -1.0 -5.0 18.0 8.0 -48.0 0.0 32.0)
The output of partials->polynomial is a float-vector:
(partials->polynomial '(1 1 3 2 6 1))
;; => #r(-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0)
More information about the Cmdist
mailing list