CLAM-Development  1.1
Public Member Functions
CLAM::FFT_numrec Class Reference

Implementation of the FFT using the algorithm in Numerical Recipies in C. More...

#include <FFT_numrec.hxx>

List of all members.

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

Detailed Description

Implementation of the FFT using the algorithm in Numerical Recipies in C.

See also:
Numerical Recipies Home Page

Definition at line 41 of file FFT_numrec.hxx.


Constructor & Destructor Documentation

Definition at line 65 of file FFT_numrec.cxx.

References CLAM::Processing::Configure().

Definition at line 70 of file FFT_numrec.cxx.

References CLAM::Processing::Configure().

Definition at line 75 of file FFT_numrec.cxx.


Member Function Documentation

bool CLAM::FFT_numrec::Do ( ) [virtual]
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.


The documentation for this class was generated from the following files: