updated filtering of fft and scaling to dB