<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Hmmm. I made a moog-style filter last year, but it's an external of course. Totally ripped from source code I found elsewhere, but it may help if you look at the algorithm for the filter's operation.<br><br>Note that this is an IIR not an FIR filter, so it can burst and screw up your DSP chain (but only if you feed it bad values). Everything is signal-based - i.e. cutoff frequency and resonance.<br><br>Cheers,<br>Ed<br><br>&nbsp; while (n--) {<br>&nbsp;&nbsp;&nbsp; i1=(*in++);<br>&nbsp;&nbsp;&nbsp; fc1 = (*fc++);<br>&nbsp;&nbsp;&nbsp; /* This failsafe line stops the filter bursting<br>&nbsp;&nbsp;&nbsp;&nbsp; * ...but it is expensive! */<br>//&nbsp;&nbsp;&nbsp; if(x-&gt;safety) {<br>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fc1 = fc1 &lt;= 1 ? fc1 &gt;= 0 ? fc1 : 0 : 1;<br>//&nbsp;&nbsp;&nbsp;
 }<br>&nbsp;&nbsp;&nbsp; res1 = (*res++);<br>&nbsp;&nbsp;&nbsp; q = 1.0f - fc1;<br>&nbsp;&nbsp;&nbsp; p = fc1 + 0.8f * fc1 * q;<br>&nbsp;&nbsp;&nbsp; fcoeff = p + p - 1.0f;<br>&nbsp;&nbsp;&nbsp; q = res1 * (1.0f + 0.5f * q * (1.0f - q + 5.6f * q * q));<br>&nbsp;&nbsp;&nbsp; i1 -= q * xb4;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //feedback<br>&nbsp;&nbsp;&nbsp; t1 = xb1;<br>&nbsp;&nbsp;&nbsp; xb1 = (i1 + xb0) * p - xb1 * fcoeff;<br>&nbsp;&nbsp;&nbsp; t2 = xb2;<br>&nbsp;&nbsp;&nbsp; xb2 = (xb1 + t1) * p - xb2 * fcoeff;<br>&nbsp;&nbsp;&nbsp; t1 = xb3;<br>&nbsp;&nbsp;&nbsp; xb3 = (xb2 + t2) * p - xb3 * fcoeff;<br>&nbsp;&nbsp;&nbsp; xb4 = (xb3 + t1) * p - xb4 * fcoeff;<br>&nbsp;&nbsp;&nbsp; xb4 = saturate(xb4);<br>&nbsp;&nbsp;&nbsp; xb4 = xb4 - xb4 * xb4 * xb4 * 0.01f;<br>&nbsp;&nbsp;&nbsp; xb0 = i1;<br>&nbsp;&nbsp;&nbsp; *out++ = xb4*1.414; //
 lowpass mode<br>&nbsp;&nbsp;&nbsp; // *out++ = i1 - x-&gt;b4; // highpass mode<br>// Lowpass&nbsp; output:&nbsp; xb4<br>// Highpass output:&nbsp; in - xb4;<br>// Bandpass output:&nbsp; 3.0f * (b3 - xb4);<br><br>&nbsp; }<br><br><div><span><br class=""></span></div><div>&nbsp;</div><div>Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad<br>http://www.ninjajamm.com/</div><div><br><br></div><div>Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!<br>http://sharktracks.co.uk/&nbsp;</div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, 15 October 2013, 13:16, Billy Stiltner
 &lt;billy.stiltner@gmail.com&gt; wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div class="y_msg_container"><div id="yiv2765037273"><div><div dir="ltr">martin, I have not tried the moog but did use one of your abstractions using the fexpr~ as a starting point to build the original dsp cookbook filters(frequency thats where its happenin man) , I had been wanting to hear them in realtime since 1998 or so. I'm not sure I have them in there correct as they are over resonant but make a nice oscillator for&nbsp; drums if properly limited.<br clear="none">
<br clear="none"></div><div class="yiv2765037273yqt0150950646" id="yiv2765037273yqt81579"><div class="yiv2765037273gmail_extra"><br clear="none"><br clear="none"><div class="yiv2765037273gmail_quote">On Fri, Oct 11, 2013 at 5:33 AM, martin brinkmann <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:mnb@martin-brinkmann.de" target="_blank" href="mailto:mnb@martin-brinkmann.de">mnb@martin-brinkmann.de</a>&gt;</span> wrote:<br clear="none">
<blockquote class="yiv2765037273gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv2765037273im">On 10/11/2013 08:32 AM, Dan Wilcox wrote:<br clear="none">
<br clear="none">
&gt; [vcf~] sounds close, but of course, it's a band pass so it's not a real replacement.<br clear="none">
<br clear="none">
</div>the undocumented 2nd output of vcf~ is a lowpass. and there are a few<br clear="none">
methods to build the basic (cookbook) filters with pd-vanilla-objects:<br clear="none">
you could use fexpr~ to make your own signal-rate biquad. it works very<br clear="none">
well, but needs a lot more cpu than necessary. or you could use<br clear="none">
cpole~/czero~. like in the beequad-abstractions. i have used the same<br clear="none">
method in all my filters, with signal-rate. (in my "instruments<br clear="none">
collection" on my homepage). of course this is still not exactly<br clear="none">
moog~. it should be possible though to make a moog-abstraction<br clear="none">
in the same way, but i have not tried (yet)...<br clear="none">
maybe anyone else has already?<br clear="none">
<br clear="none">
bis denn!<br clear="none">
&nbsp; &nbsp; &nbsp; &nbsp; martin<br clear="none">
<br clear="none">
_______________________________________________<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Pd-list@iem.at" target="_blank" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br clear="none">
UNSUBSCRIBE and account-management -&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br clear="none">
</blockquote></div><br clear="none"></div></div></div></div><br><div class="yqt0150950646" id="yqt41556">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@iem.at" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -&gt; <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div> </blockquote>  </div> </div>   </div> </div></body></html>