Try to use FFT to determine dominant frequency