The Fast Fourier Transform (FFT) is a widely used algorithm that computes the Discrete Fourier Transform (DFT) using much fewer operations than a direct implementation of the DFT. FFTs are of great ...
float base_angle = (float)(M_PI * 2.0) / N; int offset = 0; int log2N = dl_power_of_two(N); int scale = 1 << DL_FFT_DIF_SC16_TABLE_BITS; // scale twiddle factors to fit in int16 with some headroom for ...