FFT signal function