Using discrete Fourier transforms for signal processing