Hi, I am looking at the JUCE FFT class, and was wondering in what format the array returned by FFT class function performRealOnlyForwardTransform returned the amplitude and phase components of the frequency bins.

The function performs the transformation on a float array twice the size of the number of samples to be processed and returns both the real and imaginary components.

Is this structured:

r, i, r, i, r, i, … where the real and imaginary components for each bin are adjacent

or r, r, r, r, …, i, i, i, i, … or where its all real, then all imaginary.

The documentation is unclear, and also conflicts with the actual juce_FFT.h file.