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.

- Upcoming Multiplatform Game Program...
- Network Emulation Tool
- Trouble with accessing GLSL array
- Game Programming Patterns: Bytecode
- Fiction
- Skeletal Animation Tutorial with GP...
- Unreal Engine 4
- Interactive WebGL Water Demo
- Microsoft xbox one selling poorly
- Using OpenGL Camera with Box2D in C++

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.