Hi, I have a question about the FFT.
I'm kind of confuse because as I understand, if the buffer size is of 1024 samples. Then the FFT should give, first, 1024 values, then after extracting only the positive frequencies, should give 512 values, but instead it gives 256 values.
I think the problem comes when calling the FFT with a framesize of 512
// call the fft and transform the complex numbers
FFT fft = new FFT(sampleSize / 2, -1);
Its suppose that amplitudes are already the correct values, every value being double, I don't why passing sampleSize/2.
Could you tell me why did you do that please?
Thanks in advance.
-Jessica