#include <Normalization.hxx>

Definition at line 74 of file Normalization.hxx.
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 ProcessingConfig & | GetConfig () const |
| Configuration getter. | |
Protected Member Functions | |
| TData | ComputeScaleFactorFromMaxEnergy (DataArray &inAudio) |
| TData | ComputeScaleFactorFromAvgEnergy (DataArray &inAudio) |
| TData | ComputeScaleFactorFromDominantEnergy (DataArray &inAudio) |
| CLAM::Normalization::Normalization | ( | ) |
| CLAM::Normalization::Normalization | ( | NormalizationConfig & | c | ) |
| CLAM::Normalization::~Normalization | ( | ) |
Definition at line 55 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.
| bool CLAM::Normalization::Do | ( | void | ) | [virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 68 of file Normalization.cxx.
Definition at line 73 of file Normalization.cxx.
References ComputeScaleFactorFromAvgEnergy(), ComputeScaleFactorFromDominantEnergy(), ComputeScaleFactorFromMaxEnergy(), and CLAM::Audio::GetSize().
Definition at line 99 of file Normalization.cxx.
References CLAM_ASSERT, ComputeScaleFactorFromAvgEnergy(), ComputeScaleFactorFromDominantEnergy(), ComputeScaleFactorFromMaxEnergy(), and CLAM::Audio::GetSize().
| const ProcessingConfig& CLAM::Normalization::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Reimplemented from CLAM::Processing.
Definition at line 108 of file Normalization.hxx.
Definition at line 129 of file Normalization.cxx.
References CLAM_sqrt(), CLAM::FifthOrder, CLAM::StatsTmpl< abs, T, U, initOrder >::GetEnergy(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetMoments(), and CLAM::OutControl::SendControl().
Referenced by Do().
Definition at line 172 of file Normalization.cxx.
References CLAM_sqrt(), CLAM::FifthOrder, CLAM::StatsTmpl< abs, T, U, initOrder >::GetEnergy(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetMoments(), and CLAM::OutControl::SendControl().
Referenced by Do().
Definition at line 216 of file Normalization.cxx.
References CLAM_sqrt(), CLAM::FifthOrder, CLAM::StatsTmpl< abs, T, U, initOrder >::GetEnergy(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetMoments(), and CLAM::OutControl::SendControl().
Referenced by Do().
1.5.5