|
CLAM-Development
1.1
|
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.
Definition at line 65 of file FFT_numrec.cxx.
References CLAM::Processing::Configure().
| CLAM::FFT_numrec::FFT_numrec | ( | const FFTConfig & | c | ) |
Definition at line 70 of file FFT_numrec.cxx.
References CLAM::Processing::Configure().
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 79 of file FFT_numrec.cxx.
References CLAM::InPort< Token >::Consume(), CLAM::AudioInPort::GetAudio(), CLAM::OutPort< Token >::GetData(), CLAM::InPort< Token >::GetSize(), CLAM::FFT_base::mInput, CLAM::FFT_base::mOutput, CLAM::OutPort< Token >::Produce(), and CLAM::Spectrum::SetSize().
| bool CLAM::FFT_numrec::Do | ( | const Audio & | in, |
| Spectrum & | out | ||
| ) | [virtual] |
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 88 of file FFT_numrec.cxx.
References CLAM::FFT_base::CheckTypes(), CLAM_ASSERT, CLAM_DEBUG_ASSERT, CLAM::FFT_base::fftbuffer, CLAM::Processing::IsRunning(), CLAM::FFT_base::mComplexflags, CLAM::FFT_base::mSize, CLAM::FFT_base::mState, CLAM::FFT_base::sComplex, CLAM::FFT_base::sComplexSync, CLAM::FFT_base::sOther, CLAM::Spectrum::SynchronizeTo(), and CLAM::FFT_base::ToOther().
| 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.
1.7.6.1