FFT to get cadence