ofxPDSP
|
Class to use an FFT Implementation. More...
#include <FFTWorker.h>
Public Member Functions | |
void | initFFT (int bufferSize) |
inits the fft | |
int | getFFTBlockSize () const |
returns the fft block size, usually the first power of 2 greater than the audio buffer size. | |
int | getFFTComplexSize () const |
returns the fft block size == half the block size | |
void | FFT (const float *inSignal, float *re, float *im) |
performs FFT More... | |
void | iFFT (float *outSignal, const float *re, const float *im) |
performs iFFT More... | |
Class to use an FFT Implementation.
This manage the instantiation and initialization of an FFT algorithm to be used into subclasses. It use the AudioFFT library so the implementation is chosen at compile time setting the right flag.
void pdsp::FFTWorker::FFT | ( | const float * | inSignal, |
float * | re, | ||
float * | im | ||
) |
performs FFT
[in] | inSignal | signal to process (time domain) |
[out] | re | real part output (frequency domain) |
[out] | im | imaginary part output (frequency domain) |
void pdsp::FFTWorker::iFFT | ( | float * | outSignal, |
const float * | re, | ||
const float * | im | ||
) |
performs iFFT
[out] | outSignal | signal output (time domain) |
[in] | re | real part input (frequency domain) |
[in] | im | imaginary part input (frequency domain) |