Using FFT in Android
问题 I am having trouble understanding how I should pass PCM data from the mic to this FFT class I am using made by Piotr Wendykier (it's the DoubleFFT_1D class in JTransforms). I think I have to return a real and imaginary number and then double the real number to eventually obtain Frequency = 8000 * i / 1024 where i is the index of the highest magnitude. Can someone help me in finding the frequency of a note played in? I have a recording class as follows: import edu.emory.mathcs.jtransforms.fft