7 const int AUDIO_BUFFER_SIZE = 512;
8 const int FFT_BUFFER_SIZE = AUDIO_BUFFER_SIZE/2 + 1;
14 double in[AUDIO_BUFFER_SIZE];
15 fftw_complex out[FFT_BUFFER_SIZE];
16 fftw_complex inverse_in[FFT_BUFFER_SIZE];
17 double inverse_out[AUDIO_BUFFER_SIZE];
20 fftw_plan inverse_plan;
23 fft(
int nBufferFrames,
int samplingRate);
fft(int nBufferFrames)
Construct the fftw3 plans for the object.
Definition: fft.cpp:6
Definition: voxFilter.h:12
Class for performing fourier transforms using FFTW3.
Definition: fft.h:17
void executeInverse_fft(fftw_complex *fourierSpectrum)
Definition: fft.cpp:23
void executefft(double *inputBuffer)
Definition: fft.cpp:18