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.Cheers
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list