Page 1 of 1

About Decimation

Posted: Tue Jul 22, 2014 2:24 pm
by dsPaul
Hello,
i wrote a simple routine to perform decimation on samples, and i placed a 1 pole LPFs ahead to prevent aliasing but i'm not able to completly get rid of high freqencies ringing cause the slope of 1st order could be too low.
I could probably resolve this by analog conditioning at the input side, but i'd like to go digit.
Do you think that by higher order filtering is the way?
I ask this cause with 800Hz corner in the LPF, the guitar's treble were gone but i could still hear ringing at 16kHz (lower than without LPF, but still there). :roll:
Thank you

Posted: Tue Jul 22, 2014 3:03 pm
by frank
A 1-pole is not enough, at 20db/decade you will only be about 26db down at 16K, you will want a higher order filter.