<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div><br>&gt; Date: Sat, 28 Feb 2015 11:51:43 -0800<br>&gt; From: "Bill Schottstaedt" &lt;bil@ccrma.Stanford.EDU&gt;<br>&gt; Subject: Re: [CM] analog-filter.scm<br>&gt; To: James Hearon &lt;j_hearon@hotmail.com&gt;,        "cmdist@ccrma.Stanford.EDU"<br>&gt;         &lt;cmdist@ccrma.Stanford.EDU&gt;<br>&gt; Message-ID: &lt;20150228195009.M14338@ccrma.Stanford.EDU&gt;<br>&gt; Content-Type: text/plain;        charset=iso-8859-1<br>&gt; <br>&gt; They're in mus-config.h.  SNDLIB_CONFIG_path is very obsolete --<br>&gt; it has no effect on anything.  I tried fc21 with all those settings<br>&gt; and it worked fine.  I don't know what the problem is.<br><br>Hi,<br>Thanks Bill.&nbsp; I tried this and it seems working now.<br><br>./configure&nbsp; --with-s7 --with-gsl --with-motif --with-alsa CFLAGS=HAVE_COMPLEX_NUMBERS CFLAGS=HAVE_COMPLEX_TRIG CFLAGS="-I/usr/include/linux/param.h" SNDLIB_CONFIG_path=/opt/sndlib<br><br>------<br>(load "/opt/snd-15.4/analog-filter.scm")<br><br>(define (filter-sweep flt)<br>&nbsp; (let ((phase 0.0)<br>&nbsp;&nbsp;&nbsp; (freq 0.0)<br>&nbsp;&nbsp;&nbsp; (incr (/ (* 2 pi) 144000.0))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (samps (seconds-&gt;samples 0.5)))<br>&nbsp;&nbsp;&nbsp; (do ((i 0 (+ i 1)))<br>&nbsp;&nbsp;&nbsp; ((= i samps))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (let ((sval (* .8 (sin phase))))<br>&nbsp;&nbsp;&nbsp; (set! phase (+ phase freq)) <br>&nbsp;&nbsp;&nbsp; (set! freq (+ freq incr))<br>&nbsp;&nbsp;&nbsp; (outa i (flt sval)) <br>&nbsp;&nbsp;&nbsp; (outb i (flt sval))&nbsp; ))))<br><br>(with-sound (:output "test.wav" :srate 48000 :channels 2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :header-type&nbsp; mus-riff)<br>&nbsp; ;(filter-sweep (make-butterworth-lowpass 8 .1))<br>&nbsp; (filter-sweep (make-bessel-lowpass 8 .2))<br>&nbsp; ;(filter-sweep (make-chebyshev-lowpass 8 .1))<br>&nbsp; ;(filter-sweep (make-inverse-chebyshev-lowpass 8 .1))<br>&nbsp; ;(filter-sweep (make-elliptic-lowpass 8 .01))<br>&nbsp; )<br><br><br><br><br></div>                                               </div></body>
</html>