<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);">
<font size="2"><span style="font-size:11pt">re: mus-chebyshev-u-sum takes a list of partial (harmonic)<br>
amplitudes:<br>
<br>
(with-sound (:srate 48000 :channels 1 :play #t)<br>
(let* ((dur 1.0)<br>
(samps (seconds->samples dur))<br>
(coeffs (float-vector 0 1 0 1/3 0 1/5 0 1/7 0 1/9))<br>
(incr (hz->radians 200.0)))<br>
(do ((i 0 (+ i 1))<br>
(x 0.0 (+ x incr)))<br>
((= i samps))<br>
(outa i (* 0.1 (mus-chebyshev-u-sum x coeffs))))))</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sorry, I had not replied "thank you" for this info re: the input format of the float-vector. I was able to dig deeper and get a better understanding of the output values for mus-chebyshev-u-sum by looking carefully at clm.c. From what I gather, the sum result
simply sets the amp level of each sample in the timedomain. I'm still not completely clear on the role phase plays per sample, but I'll keep thinking about that. I'm amazed at how much chebyshev there is in Snd. I hadn't taken notice of that until recently.
Polywave, Chebyshev sums, Chebyshev Coefficients, Chebyshev Filters etc.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jim<br>
</div>
</body>
</html>