Normalization is a CLAM implementation of 3 normalization's algorithms. More...
#include <Normalization.hxx>
Public Member Functions | |
NormalizationConfig () | |
NormalizationConfig (const NormalizationConfig &prototype, const bool shareData=false, const bool deep=true) | |
__COMMON_DYNAMIC_TYPE (NormalizationConfig, 2) | |
__COMMON_DYN_ATTRIBUTE (0, public, int, Type) protected | |
bool | LoadType (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (1, public, TSize, FrameSize) protected | |
bool | LoadFrameSize (CLAM::Storage &s) |
void | DefaultInit (void) |
The concrete dynamic type constructor calls DefaultInit(). |
Normalization is a CLAM implementation of 3 normalization's algorithms.
The class's Do() function input is CLAM Audio, the ouput is the normalized Audio.
The class's configuration parameters are:
parameters | default value) | Comment |
---|---|---|
FrameSize | 2205 - 0.05s @ 44.1 kHz | Frame Size over which normalization takes place |
Type | (1) | Type of normalization to be applied. 1, 2 or 3 according to the normalizations descriptions above. |
Definition at line 64 of file Normalization.hxx.
CLAM::NormalizationConfig::NormalizationConfig | ( | ) | [inline] |
Definition at line 67 of file Normalization.hxx.
CLAM::NormalizationConfig::NormalizationConfig | ( | const NormalizationConfig & | prototype, | |
const bool | shareData = false , |
|||
const bool | deep = true | |||
) | [inline] |
Definition at line 67 of file Normalization.hxx.
CLAM::NormalizationConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
TSize | , | |||
FrameSize | ||||
) | [inline] |
Definition at line 69 of file Normalization.hxx.
CLAM::NormalizationConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
public | , | |||
int | , | |||
Type | ||||
) | [inline] |
Definition at line 68 of file Normalization.hxx.
CLAM::NormalizationConfig::__COMMON_DYNAMIC_TYPE | ( | NormalizationConfig | , | |
2 | ||||
) |
void CLAM::NormalizationConfig::DefaultInit | ( | void | ) |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 27 of file Normalization.cxx.
References CLAM::DynamicType::UpdateData().
bool CLAM::NormalizationConfig::LoadFrameSize | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 69 of file Normalization.hxx.
bool CLAM::NormalizationConfig::LoadType | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 68 of file Normalization.hxx.