<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'>Hi,<br>For CL/CLM manual under "other generators", I'm trying to understand the implications of green.cl and butterworth.cl.<br><br>"green.cl defines several special purpose noise generators.
butterworth.cl has several Butterworth filters.  
(See analog-filter.scm in the Snd package for functions to design all the usual analog filters;
the output is compatible with CLM's filter generator)."<br><br>I think I've understood green.cl, but stuck on butterworth.cl, however I did get the Snd analog-filter.scm working in Grace and Snd.<br><br>For emacs/slime/lisp with butterworth.cl was trying below, but getting memory errors.&nbsp; Not sure if I understood what .cl is for?&nbsp; I just named it .lisp, added the instrument below to it and tried to compile and load that.&nbsp; I'm thinking I'm off on the wrong track about how the butterworths are intended to be utilized in clm.<br><br><br>(definstrument mybutter (beg dur freq amp)<br>&nbsp;&nbsp; (let* ((start (floor (* beg *srate*)))<br>&nbsp;&nbsp; (end (+ start (floor (* dur *srate*))))<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;(flt (make-butterbp 200 .5))<br>&nbsp;&nbsp;&nbsp; &nbsp;(os (make-oscil freq)))<br>&nbsp;&nbsp;&nbsp; (run<br>&nbsp;&nbsp;&nbsp;&nbsp; (loop for i from start to end do<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (outa i (* amp (filter flt (oscil os))))))))<br><br>(with-sound (:channels 2 :srate 48000 :header-type mus-riff :output "testbutter.wav")<br>(mybutter 0 5 400 .7)<br>)<br><br>                                               </div></body>
</html>