sorry if i sound confused, but i know a little bit more now about how the fft works... just a quick question
anyway. is -atan2(real[bin],imaginary[bin]) a way to get the phase angle for the bin? because im getting some success with it but im not sure if its the correct way to do it.
I believe it should be: atan2(imaginary, real)
It's because atan2 is defined weirdly and takes its arguments as y, x instead of x, y.