blob: 02bb7de086aa8a6c64884904f9d19c51c41f4dc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef FFT_H
#define FFT_H
/* Everything here comes from Audacity 1.3.13
(orignally in C++ and with more genericity and functionnality)
Original Author : Dominic Mazzoni
Licenced under GPL 2.0 (see LICENCE)
*/
void FFT(int NumSamples, int InverseTransform,
float *RealIn, float *ImagIn, float *RealOut, float *ImagOut);
void InitFFT();
int NumberOfBitsNeeded(int PowerOfTwo);
inline int FastReverseBits(int i, int NumBits);
int ReverseBits(int index, int NumBits);
void PowerSpectrum(float *In, float *Out);
#endif
|