csl::IFFT Class Reference

#include <Spectral.h>

Inheritance diagram for csl::IFFT:

csl::UnitGenerator List of all members.

Public Member Functions

 IFFT (FFTFlags flags=kFFTMeasure, int size=CGestalt::blockSize())
 Default size to the buffer size and flags to measure.
 ~IFFT ()
int fftSize ()
 no setter -- create a new IFFT to change size
void binValue (int binNumber, float *outRealPart, float *outComplexPart)
void binValueMagPhase (int binNumber, float *outMag, float *outPhase)
void setBin (int binNumber, float realPart, float complexPart)
void setBins (float *real, float *complex)
void setBins (int lower, int upper, float *real, float *complex)
void setBinMagPhase (int binNumber, float mag, float phase)
void setBinsMagPhase (float *mags, float *phases)

Protected Member Functions

void initialize (FFTFlags flags)
void nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException)

Protected Attributes

int mFFTSize
 This should be unsigned, but is signed for compatability with FFTW.
CSL_FFTW_plan mPlan
 Plan for IFFT.
CSL_FFTW_cmplx * mSpectrum
 Buffer to store the spectrum.
CSL_FFTW_cmplx * mTempSpectrum
 Temp buffer for spectrum (since FFTW trashes this).
CSL_FFTW_sample * mSampleBuffer
 Buffer to store samples.
BlockResizer mBlockResizer
 used to change the size of callbacks to equal the FFT size

Constructor & Destructor Documentation

IFFT::IFFT FFTFlags  flags = kFFTMeasure,
int  size = CGestalt::blockSize()
 

Default size to the buffer size and flags to measure.

IFFT::~IFFT  ) 
 


Member Function Documentation

int csl::IFFT::fftSize  )  [inline]
 

no setter -- create a new IFFT to change size

void IFFT::binValue int  binNumber,
float *  outRealPart,
float *  outComplexPart
 

void IFFT::binValueMagPhase int  binNumber,
float *  outMag,
float *  outPhase
 

void IFFT::setBin int  binNumber,
float  realPart,
float  complexPart
 

void IFFT::setBins float *  real,
float *  complex
 

void IFFT::setBins int  lower,
int  upper,
float *  real,
float *  complex
 

void IFFT::setBinMagPhase int  binNumber,
float  mag,
float  phase
 

void IFFT::setBinsMagPhase float *  mags,
float *  phases
 

void IFFT::initialize FFTFlags  flags  )  [protected]
 

void IFFT::nextBuffer Buffer outputBuffer,
unsigned  outBufNum
throw (CException) [protected]
 


Member Data Documentation

int csl::IFFT::mFFTSize [protected]
 

This should be unsigned, but is signed for compatability with FFTW.

CSL_FFTW_plan csl::IFFT::mPlan [protected]
 

Plan for IFFT.

CSL_FFTW_cmplx* csl::IFFT::mSpectrum [protected]
 

Buffer to store the spectrum.

CSL_FFTW_cmplx* csl::IFFT::mTempSpectrum [protected]
 

Temp buffer for spectrum (since FFTW trashes this).

CSL_FFTW_sample* csl::IFFT::mSampleBuffer [protected]
 

Buffer to store samples.

BlockResizer csl::IFFT::mBlockResizer [protected]
 

used to change the size of callbacks to equal the FFT size


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:21 2007 for CSL by  doxygen 1.4.5-20051010