[sdiy] Digital filtering (Oversampling and downsampling)

Ben Lincoln blincoln at eventualdecline.com
Mon Aug 3 20:04:30 CEST 2009


On Mon, August 3, 2009 9:38 am, Ben Lincoln wrote:

> Wouldn't you want to take the average (or median, which would be faster to
> compute) for best results? As opposed to just taking every 8th sample
> as-is, I mean. Maybe that's what you meant and I misread it.

Actually, correction, for this specific case it would be faster to compute
the average of the eight samples, because you could just sum them and then
bit-shift right by 3. To do the median you'd need to sort the values.

Back to the original topic, wouldn't this help prevent aliasing, since it
would be smoothing out the wave and removing harmonic-introducing
discontinuities? Assuming that's not what Tom's device is doing already,
of course.




More information about the Synth-diy mailing list