<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);">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)"><span class="Apple-converted-space">Hi,</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)"><span class="Apple-converted-space">&nbsp;</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">I'm
 getting confused on make-polyshape and partials-&gt;polynomial.</span></div>
<div style=""><font color="#201f1e"><span style="font-size: 14.6667px;"><br>
</span></font><span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px; display: inline !important; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;
 re: sndclm manual</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px; display: inline !important; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;
 partials-&gt;polynomial takes a list or float-vector of partial numbers and amplitudes and returns the Chebyshev polynomial coefficients that produce that spectrum. These coefficients can be passed to polyshape (the coeffs argument), or used directly by polynomial..</span><span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px; display: inline !important; background-color: rgb(255, 255, 255);">.</span></div>
<div style=""><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px; display: inline !important; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;
 ex.</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px; display: inline !important; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;
 (partials-&gt;polynomial '(1 1 3 2 6 1))</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px; display: inline !important; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;
 ;(-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0)</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;
 I'm trying to figure out how to use the coefficients, but I get an &quot;attempt to apply a real -1.0, etc. error&quot;</span><span style="color: rgb(32, 31, 30); font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 14.6667px;">&nbsp;when
 I plugin the float vector to the coeffs parameter.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;
 (with-sound ()</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 (let ((gen (make-polyshape 400.0 :coeffs (-1.0 -5.0 18.0 8.0 -48.0 0.0 32.0))))</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 (do ((i 0 (+ i 1)))</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 ((= i 88200))</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 (outa i (* .5 (polyshape gen 0.25))))))</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;
 How do you go about applying the partials-&gt;polynomial output to make-polyshape?&nbsp; I couldn't seem to grep an example of that in the code.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;
 Thank you,</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<span style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;display:inline !important;background-color:rgb(255, 255, 255)">&nbsp;&nbsp;&nbsp;
 Jim</span><br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<br style="color:rgb(32, 31, 30);font-family:'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)">
<br>
</div>
</body>
</html>