JTransforms FFT in Android from PCM data
I've been playing with this now for sometime, I cant work out what I am meant to be doing here. I am reading in PCM audio data into an audioData array: recorder.read(audioData,0,bufferSize); //read the PCM audio data into the audioData array I want to use Piotr Wendykier's JTransform library in order to preform an FFT on my PCM data in order to obtain the frequency. import edu.emory.mathcs.jtransforms.fft.DoubleFFT_1D; At the moment I have this: DoubleFFT_1D fft = new DoubleFFT_1D(1024); // 1024 is size of array for (int i = 0; i < 1023; i++) { a[i]= audioData[i]; if (audioData[i] != 0) Log.v