<div dir="ltr">so, here's the biquad verision of the 8 point average filter<div><br></div><div>I was actually more interested in the raw filters and I could get there with the biquad version by converting the coefficients to poles/zeros. All I did now was the opposite conversion to make the biquads.</div><div><br></div><div>but yeah, I fried my brains a bit to be able to make the biquad for the 4 average filters, it was all about trying to find a clever solution, but then I got stuck by trying to follow the same line of thought to make other poin averages like 8...</div><div><br></div><div>So let me see if I got it straight. All you need to do is divide the circle in the number of points and you know where the zeros are. For instance, a 2 point average just divide 360 / 2 and you have 180º</div><div><br></div><div>8 point average 45º - 90º - 135º - 180º - 225º - 270º - 315º</div><div><br></div><div>So, a 3 point average filter is 120º and 240º</div><div><br></div><div>right?</div><div><br></div><div>cheers<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-09 2:06 GMT-03:00 Alexandre Torres Porres <span dir="ltr"><<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">as long as we're on this, I don't know much about average filters, but is it common to have even sample average like 3-point / 5-point?<div><br></div><div>i was guessing there had to be at least even numbers, but now i have a different intuition</div><div><br></div><div>cheers</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-09-09 2:00 GMT-03:00 Alexandre Torres Porres <span dir="ltr"><<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I wasn't looking for this, but it's great to know it :) thanks!</div><div class="gmail_extra"><br><div class="gmail_quote"><span>2015-09-08 20:28 GMT-03:00 Christof Ressi <span dir="ltr"><<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div><div style="font-family:Verdana;font-size:12.0px"><div style="font-family:Verdana;font-size:12.0px">
<div style="font-family:Verdana;font-size:12.0px">
<div>Hi, there's actually a nice and easy way of implementing a moving average filter of ANY length using only an integrator and a samplewise delay [z~]. The formular for a moving average filter of N points is simply: y[n] = (x[n] - x[n-N])/N + y[n-1]. I attached an abstraction. Not totally sure this is what you're looking for.</div>

<div> </div>

<div>Cheers</div>
</div>
</div></div></div><br></span><span>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>