Hacker News new | ask | show | jobs
by Junk_Collector 1864 days ago
Said another way, you're making a filter. Zeroing out FFT bins is a brickwall filter. Brickwall filters have poor frequency and amplitude accuracy if you are trying to preserve the signal in the passband. A Flattop filter will give maximum amplitude accuracy, a gaussian filter will give good amplitude and excellent frequency accuracy. Other filter types can be implemented to require less computation for resource constrained systems under certain circumstances. Zeroing is the simplest filter to implement in code, but it's performance is essentially the worst from a signals point of view.
1 comments

>Brickwall filters have poor frequency and amplitude accuracy if you are trying to preserve the signal in the passband.

Brickwall filters have the greatest possible frequency accuracy. I think you might be getting filters mixed up with windows - a boxcar window does not have the best frequency accuracy.

It can work fine if you implement an FIR with sufficient bins.