CLAM::NormalizationConfig Class Reference

#include <Normalization.hxx>

Inheritance diagram for CLAM::NormalizationConfig:

CLAM::ProcessingConfig CLAM::DynamicType CLAM::Component

List of all members.


Detailed Description

Normalization is a CLAM implementation of 3 normalization's algorithms.

  1. normalizes in relation to the maximum energy value of the signal
  2. normalizes in relation to the average energy of the signal
  3. scales the audio by the value under which lies 90% of the energy values that are not "silence"

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.

Author:
jricard@iua.upf.es

gpeter@iua.upf.es

Definition at line 64 of file 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().

Member Function Documentation

CLAM::NormalizationConfig::DYNAMIC_TYPE_USING_INTERFACE ( NormalizationConfig  ,
,
ProcessingConfig   
)

CLAM::NormalizationConfig::DYN_ATTRIBUTE ( ,
public  ,
int  ,
Type   
)

CLAM::NormalizationConfig::DYN_ATTRIBUTE ( ,
public  ,
TSize  ,
FrameSize   
)

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().

See also:
CopyInit()

Reimplemented from CLAM::DynamicType.

Definition at line 32 of file Normalization.cxx.

References CLAM::DynamicType::UpdateData().


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