Implementation of the FFT using the algorithm in Numerical Recipies in C. More...
#include <FFT_numrec.hxx>
Public Member Functions | |
FFT_numrec () | |
FFT_numrec (const FFTConfig &c) | |
~FFT_numrec () | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
bool | Do () |
Supervised-mode Do function. | |
bool | Do (const Audio &in, Spectrum &out) |
Standard FFT Do function, with storage class references as arguments. | |
bool | MayDisableExecution () const |
Implementation of the FFT using the algorithm in Numerical Recipies in C.
Definition at line 41 of file FFT_numrec.hxx.
CLAM::FFT_numrec::FFT_numrec | ( | ) |
Definition at line 52 of file FFT_numrec.cxx.
References CLAM::Processing::AddConfigErrorMessage(), CLAM::FFT_base::ConcreteConfigure(), isPowerOfTwo(), and CLAM::FFT_base::mSize.
CLAM::FFT_numrec::FFT_numrec | ( | const FFTConfig & | c | ) |
Definition at line 57 of file FFT_numrec.cxx.
CLAM::FFT_numrec::~FFT_numrec | ( | ) |
Definition at line 62 of file FFT_numrec.cxx.
Standard FFT Do function, with storage class references as arguments.
This method implements the old conversor routines. The resulting spectrum will be of input audio size / 2 + 1. Input audio must be a power-of-two.
Implements CLAM::FFT_base.
Definition at line 75 of file FFT_numrec.cxx.
bool CLAM::FFT_numrec::Do | ( | ) | [virtual] |
Supervised-mode Do function.
Implements CLAM::FFT_base.
Definition at line 66 of file FFT_numrec.cxx.
References CLAM::Processing::Configure().
const char* CLAM::FFT_numrec::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 64 of file FFT_numrec.hxx.
bool CLAM::FFT_numrec::MayDisableExecution | ( | ) | const [inline, virtual] |
Reimplemented from CLAM::FFT_base.
Definition at line 74 of file FFT_numrec.hxx.