<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Ok, I got it working in a limited way as a Pd object and I was controlling my first filter against noise! &nbsp;Good fun. You can still run the .tcl file as a standalone GUI for dev work. &nbsp;Get it from my git:</div><div><br></div><div><a href="https://github.com/pd-projects/filterview">https://github.com/pd-projects/filterview</a></div><div><br></div><div>It would be quite nice if the phase was drawn as a thin line over the magnatude graph. &nbsp;What do you think?</div><div><br></div><div>.hc</div><div><br></div><br><div><div>On Feb 15, 2011, at 6:31 PM, Mike Moser-Booth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hey Hans,<div><br></div><div>Here's an update of filterview. There are now procs for the following filters:</div><div><br></div><div>lowpass</div><div>highpass</div><div>allpass</div><div>bandpass</div><div>resonant</div> <div>peaking</div><div>highshelf</div><div>lowshelf</div><div><br></div><div>I've added some lines to show the phase response (you have to comment out line 135 and uncomment 136 to see it). I also adjust the bandwidth calculations so the handles sit where they should (i.e. -3dB for bandpass/notch/etc., 1/2 power for peaking/shelf).</div> <div><br></div><div>btw, the frequency axis is log-scaled, though it could probably be improved a little. I sort of took a Pd approach to it by making an mtof proc, so the x-axis gets scaled to linear midi notes and converted to log-frequencies. :-) There might be a simpler way to do it. It also doesn't go all the way down to 0 Hz, because doing that with this approach causes the lowest frequencies to take up too much of the graph. I think Max gets around it by using a more compressed scale below 1-2 Hz.</div> <div><br></div><div>.mmb</div><div><br><div class="gmail_quote">On Thu, Feb 10, 2011 at 12:39 AM, Mike Moser-Booth <span dir="ltr">&lt;<a href="mailto:mmoserbooth@gmail.com">mmoserbooth@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sure, I can throw the others together. Now that one is done the rest should fall into place pretty easily. It might take me a couple of days to get to it, though.<div> <br></div><div><font color="#888888">.mmb<br></font><div><div class="im"><br><div class="gmail_quote"> On Wed, Feb 9, 2011 at 11:47 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div style="word-wrap:break-word"><div><br></div><div>That's awesome, thanks! &nbsp;I committed it under your name:</div><div><div><br></div><div><a href="https://github.com/pd-projects/filterview" target="_blank">https://github.com/pd-projects/filterview</a></div> <div><br></div></div><div>I'd like to implement all of the relevant filters, which algorithms should I use? &nbsp;Or even better, perhaps you want to take a crack at it while I figure out how to display the x/frequency on a log scale :-D</div> <div><br></div><div>.hc</div><br><div><div><div></div><div><div><br></div></div></div></div></div></blockquote></div></div><div class="im">-- <br>Mike Moser-Booth<br><a href="mailto:mmoserbooth@gmail.com" target="_blank">mmoserbooth@gmail.com</a><br> </div></div></div> </blockquote></div><br><br clear="all"><br>-- <br>Mike Moser-Booth<br><a href="mailto:mmoserbooth@gmail.com">mmoserbooth@gmail.com</a><br> </div> <span>&lt;filterview.mmb.tcl.zip&gt;</span></blockquote></div><br><div apple-content-edited="true"> <div style="font-size: 12px; "><br class="Apple-interchange-newline"><br class="khtml-block-placeholder"></div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><div style="font-size: 12px; ">----------------------------------------------------------------------------</div><div style="font-size: 12px; "><br></div><div style="font-size: 12px; ">Programs should be written for people to read, and only incidentally for machines to execute.</div><div style="font-size: 12px; ">&nbsp;- from Structure and Interpretation of Computer Programs</div> </div><br></body></html>