CLAM::SynthSineSpectrum Class Reference

#include <SynthSineSpectrum.hxx>

Inheritance diagram for CLAM::SynthSineSpectrum:

CLAM::Processing

List of all members.


Detailed Description

Configuration class for the SynthSineSpectrum Processing.

Processing which can synthesize a spectrum out of an array of spectral peaks. It does this by convolving the spectral peaks with the significant part of the fourier transformed Blackman-Harris92 window, it's main lobe. WARNING: the do method changes the type of the output spectrum to complex regardless its original format. This behaviour may result in inconsistencies and should be taken into account.

Definition at line 57 of file SynthSineSpectrum.hxx.


Public Member Functions

 SynthSineSpectrum ()
 SynthSineSpectrum (SynthSineSpectrumConfig &cfg)
 ~SynthSineSpectrum ()
const char * GetClassName () const
 Override it in every subclass and retur the name of that class.
bool Do (const SpectralPeakArray &peakArray, Spectrum &residualSpectrumOut, double gain=1.0)
bool Do (void)
 Supervised mode execution method (using ports).
bool ConcreteConfigure (const ProcessingConfig &)
 Configuration method.
const ProcessingConfigGetConfig () const
 Configuration getter.

Constructor & Destructor Documentation

SynthSineSpectrum::SynthSineSpectrum (  ) 

Definition at line 35 of file SynthSineSpectrum.cxx.

References CLAM::Processing::Configure().

SynthSineSpectrum::SynthSineSpectrum ( SynthSineSpectrumConfig cfg  ) 

Definition at line 42 of file SynthSineSpectrum.cxx.

References CLAM::Processing::Configure().

SynthSineSpectrum::~SynthSineSpectrum (  ) 

Definition at line 66 of file SynthSineSpectrum.cxx.


Member Function Documentation

const char* CLAM::SynthSineSpectrum::GetClassName (  )  const [inline, virtual]

Override it in every subclass and retur the name of that class.

Implements CLAM::Processing.

Definition at line 68 of file SynthSineSpectrum.hxx.

bool SynthSineSpectrum::Do ( const SpectralPeakArray peakArray,
Spectrum residualSpectrumOut,
double  gain = 1.0 
)

bool SynthSineSpectrum::Do ( void   )  [virtual]

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 70 of file SynthSineSpectrum.cxx.

bool SynthSineSpectrum::ConcreteConfigure ( const ProcessingConfig c  )  [virtual]

const ProcessingConfig& CLAM::SynthSineSpectrum::GetConfig (  )  const [inline, virtual]

Configuration getter.

Gets the configuration parameters used to create the object.

Returns:
Const reference to the configuration object. The usual way to perform a configuration change in the processing object is to take a copy of this reference, to change it and to send it with the Configure method. If not overriden, it returns a NullProcessingConfig.

Reimplemented from CLAM::Processing.

Definition at line 77 of file SynthSineSpectrum.hxx.


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

Generated on Tue Aug 12 22:33:49 2008 for CLAM by  doxygen 1.5.5