FFT with threshold.