<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I think I'm understanding better now. In order to generate and utilize the correct Chebyshev coefficients with make-polyshape, one needs to specify the kind or type using partials->polynomial to first generate the coefficients.<br>
</div>
<div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText"> <br>
(partials->polynomial (float-vector 1 1 3 1/3 5 1/5 7 1/7 9 1/9) mus-chebyshev-second-kind)
<div>;#r(0.8349206349206351 0.0 -2.082539682539683 0.0 18.43809523809524 0.0 -40.63492063492063 0.0 28.44444444444444 0.0</div>
<div><br>
</div>
<div>(with-sound (:srate 48000 :channels 1 :play #t)</div>
<div> (let ((gen (make-polyshape 100.0</div>
<div> :coeffs #r(0.8349206349206351 0.0 -2.082539682539683 0.0 18.43809523809524 0.0 -40.63492063492063 0.0 28.44444444444444 0.0) :kind mus-chebyshev-second-kind)))</div>
<div> (do ((i 0 (+ i 1)))</div>
<div> ((= i 88200))</div>
(outa i (* .75 (polyshape gen 1.0))))))<br>
<br>
</div>
<div class="PlainText"><br>
</div>
<div class="PlainText">Fantastic. partials-->polynomial is a nice tool. There's not that much around that allows one to view the coefficents being used in the synthesis.</div>
<div class="PlainText"><br>
</div>
<div class="PlainText">...I'll move on and try to get some understanding of the sums.<br>
</div>
<div class="PlainText">
<pre class="indented"><em class="def">mus-chebyshev-tu-sum</em> x t-coeffs u-coeffs
<em class="emdef">mus-chebyshev-t-sum</em> x t-coeffs
<em class="emdef">mus-chebyshev-u-sum</em> x u-coeffs<br><br>thanks,<br>Jim<br></pre>
<br>
</div>
</span></font></div>
</div>
</body>
</html>