CLAM::Normalization Class Reference

#include <Normalization.hxx>

List of all members.

Public Member Functions

 Normalization ()
 Normalization (NormalizationConfig &c)
 ~Normalization ()
const char * GetClassName () const
 Override it in every subclass and retur the name of that class.
bool Do (void)
 Supervised mode execution method (using ports).
bool Do (Audio &in)
bool Do (const Audio &unnorm, Audio &norm)
const ProcessingConfigGetConfig () const
 Configuration getter.

Protected Member Functions

TData ComputeScaleFactorFromMaxEnergy (DataArray &inAudio)
TData ComputeScaleFactorFromAvgEnergy (DataArray &inAudio)
TData ComputeScaleFactorFromDominantEnergy (DataArray &inAudio)

Detailed Description

Definition at line 74 of file Normalization.hxx.


Constructor & Destructor Documentation

CLAM::Normalization::Normalization (  ) 

Definition at line 38 of file Normalization.cxx.

CLAM::Normalization::Normalization ( NormalizationConfig c  ) 

Definition at line 44 of file Normalization.cxx.

CLAM::Normalization::~Normalization (  ) 

Definition at line 50 of file Normalization.cxx.


Member Function Documentation

TData CLAM::Normalization::ComputeScaleFactorFromAvgEnergy ( DataArray inAudio  )  [protected]

Definition at line 167 of file Normalization.cxx.

TData CLAM::Normalization::ComputeScaleFactorFromDominantEnergy ( DataArray inAudio  )  [protected]

Definition at line 211 of file Normalization.cxx.

TData CLAM::Normalization::ComputeScaleFactorFromMaxEnergy ( DataArray inAudio  )  [protected]

Definition at line 124 of file Normalization.cxx.

bool CLAM::Normalization::Do ( const Audio unnorm,
Audio norm 
)

Definition at line 94 of file Normalization.cxx.

bool CLAM::Normalization::Do ( Audio in  ) 

Definition at line 68 of file Normalization.cxx.

bool CLAM::Normalization::Do ( void   )  [virtual]

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 63 of file Normalization.cxx.

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

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

Implements CLAM::Processing.

Definition at line 101 of file Normalization.hxx.

const ProcessingConfig& CLAM::Normalization::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 108 of file Normalization.hxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3