diff options
Diffstat (limited to 'tests/test6/fft.h')
-rw-r--r-- | tests/test6/fft.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/test6/fft.h b/tests/test6/fft.h new file mode 100644 index 0000000..6066d52 --- /dev/null +++ b/tests/test6/fft.h @@ -0,0 +1,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) +*/ + +#define PSNumS 256 +#define PSHalf 128 +void PowerSpectrum(float In[PSNumS], float Out[PSHalf]); + +void FFT(int NumSamples, int InverseTransform, + float *RealIn, float *ImagIn, float *RealOut, float *ImagOut); +void DeinitFFT(); + +#endif + |