<br><div><span class="gmail_quote">On 9/12/06, <b class="gmail_sendername">Ge Wang</b> &lt;<a href="mailto:gewang@cs.princeton.edu">gewang@cs.princeton.edu</a>&gt; wrote:</span><div><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is a 2nd order butterworth.&nbsp;&nbsp;In the future, if we want our<br>24db/oct filter, it might be cool to chuck 4 to:<br><br>&nbsp;&nbsp;&nbsp;&nbsp; .order (filter order)<br><br>Furthermore, there could be something to control the type:<br><br>
&nbsp;&nbsp;&nbsp;&nbsp; .type (butter, cheb1, cheb2, ellip, more)</blockquote><div><br>I realy like that way of looking at things. It should also work well with going from a general large-scope structure to details and refining in the programing process. This a good idea IMHO, way better then LPF12, LPF24, LPFWasp ;¬) and so on.
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">(Of course, it's worth remembering that we can already construct any of<br>
these higher order filter using building blocks such as BiQuad's and<br>PoleZero's.)</blockquote><div><br>Theoretically, yes. I for one need way more reading/homework/time to let it sink in to be able to do that....<br>&nbsp;</div>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Now, I am not sure if this is the right factoring.&nbsp;&nbsp;But organizing it<br>by function (low, high, etc.) seems slightly better than a monolithic
<br>FlexFilter type...</blockquote><div><br>I agree.<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>If we want to go all out, someone could implement a chuck library for
<br>filter design, like the lovely matlab functions such as<br><br>&nbsp;&nbsp;&nbsp;&nbsp; .buttord (great name; specs in, minimum butterworth order required<br>out)<br><br>as well as analog prototyping functions and bilinear transform??&nbsp;&nbsp;It's
<br>probably pointless to try to duplicate matlab in any significant way,<br>but the filter package is really fun and can be good for teaching in an<br>audio driven manner.&nbsp;&nbsp;That would give us many different ways to<br>approach filter and friends.
<br><br>now I am talking crazy...&nbsp;&nbsp;must be dreaming...</blockquote><div><br><br>No, this would be great! <br></div><br>I've been thinking that if we have realy open-ended filters as well as the posibility to do loads of things with time then it might make sense to at some stage see how close we could get to EMU style morphing filters and similar sorts of things. A library/tookit type thingy with a &quot;how to get started&quot; sort of tutorial would be most welome here. I realy like how a function-call can be used to set a filter by coeficients but how to construct such a function (math wise) is a big question to me.
<br><br><br>I like where this is going.<br><br>Kas.<br></div>