|
CLAM-Development
1.1
|
Normalization is a CLAM implementation of 3 normalization's algorithms. More...
#include <Normalization.hxx>
Public Member Functions | |
| DYNAMIC_TYPE_USING_INTERFACE (NormalizationConfig, 2, ProcessingConfig) | |
| DYN_ATTRIBUTE (0, public, int, Type) | |
| DYN_ATTRIBUTE (1, public, TSize, FrameSize) | |
| 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.
| 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 32 of file Normalization.cxx.
References CLAM::DynamicType::UpdateData().
| CLAM::NormalizationConfig::DYN_ATTRIBUTE | ( | 0 | , |
| public | , | ||
| int | , | ||
| Type | |||
| ) |
| CLAM::NormalizationConfig::DYN_ATTRIBUTE | ( | 1 | , |
| public | , | ||
| TSize | , | ||
| FrameSize | |||
| ) |
| CLAM::NormalizationConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | NormalizationConfig | , |
| 2 | , | ||
| ProcessingConfig | |||
| ) |
1.7.6.1