CLAM::AudioDescriptors Class Reference

#include <AudioDescriptors.hxx>

List of all members.

Public Member Functions

 AudioDescriptors ()
 AudioDescriptors (const AudioDescriptors &prototype, const bool shareData=false, const bool deep=true)
 __COMMON_DYNAMIC_TYPE (AudioDescriptors, 8)
 __COMMON_DYN_ATTRIBUTE (0, public, TData, Mean) protected
 The mean value of the absolute value of the audio samples amplitude.
bool LoadMean (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (1, public, TData, Variance) protected
 The variance of audio samples amplitude.
bool LoadVariance (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (2, public, TData, TemporalCentroid) protected
 The temporal centroid is time where signal energy is "concentrated".
bool LoadTemporalCentroid (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (3, public, TData, LogAttackTime) protected
 The log-attack time is the (base 10) logarithm of the rise time.
bool LoadLogAttackTime (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (4, public, TData, Energy) protected
 The squared sum of audio samples amplitudes.
bool LoadEnergy (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (5, public, TData, ZeroCrossingRate) protected
 The zero-crossing rate is a measure of the number of time the signal value cross the zero axe, averaged over the whole signal.
bool LoadZeroCrossingRate (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (6, public, TData, RiseTime) protected
 The rise time is the time duration between the signal reached 2% of it maximum value to the time it reaches 80% of its maximum value.
bool LoadRiseTime (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (7, public, TData, Decrease) protected
 The temporal decrease is a measure of the amount of decrease in the signal energy.
bool LoadDecrease (CLAM::Storage &s)
 AudioDescriptors (Audio *pAudio)
 AudioDescriptors (TData initVal)
const AudioGetpAudio () const
void SetpAudio (Audio *pAudio)
void ConcreteCompute ()

Detailed Description

Definition at line 38 of file AudioDescriptors.hxx.


Constructor & Destructor Documentation

CLAM::AudioDescriptors::AudioDescriptors (  )  [inline]

Definition at line 40 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::AudioDescriptors ( const AudioDescriptors prototype,
const bool  shareData = false,
const bool  deep = true 
) [inline]

Definition at line 40 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::AudioDescriptors ( Audio pAudio  ) 

Definition at line 31 of file AudioDescriptors.cxx.

CLAM::AudioDescriptors::AudioDescriptors ( TData  initVal  ) 

Definition at line 37 of file AudioDescriptors.cxx.


Member Function Documentation

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Decrease   
) [inline]

The temporal decrease is a measure of the amount of decrease in the signal energy.

Measured in dB per seconds??

Definition at line 98 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
RiseTime   
) [inline]

The rise time is the time duration between the signal reached 2% of it maximum value to the time it reaches 80% of its maximum value.

For a silent signal, rise time is 0. Measured in seconds.

Definition at line 91 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
ZeroCrossingRate   
) [inline]

The zero-crossing rate is a measure of the number of time the signal value cross the zero axe, averaged over the whole signal.

Measured in crossings/second.

Definition at line 83 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Energy   
) [inline]

The squared sum of audio samples amplitudes.

This measure is not limited to the range [0,1]. Measured in squared signal units.

See also:
Stats::GetEnergy

Definition at line 76 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
LogAttackTime   
) [inline]

The log-attack time is the (base 10) logarithm of the rise time.

For a silent signal, log-attack time is -5. Measured in log10(seconds).

Definition at line 68 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
TemporalCentroid   
) [inline]

The temporal centroid is time where signal energy is "concentrated".

For a "silence" signal the centroid will be placed in the middle of the signal. It is computed by computing the statistical centroid over the absolute value of the signal. Measured in seconds.

See also:
Stats::GetCentroid

Definition at line 61 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Variance   
) [inline]

The variance of audio samples amplitude.

The result is in signal difference squared units.

See also:
Stats::GetVariance

Definition at line 51 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Mean   
) [inline]

The mean value of the absolute value of the audio samples amplitude.

The result is in signal units.

See also:
Stats::GetMean

Definition at line 46 of file AudioDescriptors.hxx.

CLAM::AudioDescriptors::__COMMON_DYNAMIC_TYPE ( AudioDescriptors  ,
 
)
void CLAM::AudioDescriptors::ConcreteCompute (  )  [virtual]

Implements CLAM::DescriptorTmpl< abs >.

Definition at line 74 of file AudioDescriptors.cxx.

const Audio * CLAM::AudioDescriptors::GetpAudio (  )  const

Definition at line 61 of file AudioDescriptors.cxx.

bool CLAM::AudioDescriptors::LoadDecrease ( CLAM::Storage s  )  [inline]

Definition at line 98 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadEnergy ( CLAM::Storage s  )  [inline]

Definition at line 76 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadLogAttackTime ( CLAM::Storage s  )  [inline]

Definition at line 68 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadMean ( CLAM::Storage s  )  [inline]

Definition at line 46 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadRiseTime ( CLAM::Storage s  )  [inline]

Definition at line 91 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadTemporalCentroid ( CLAM::Storage s  )  [inline]

Definition at line 61 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadVariance ( CLAM::Storage s  )  [inline]

Definition at line 51 of file AudioDescriptors.hxx.

bool CLAM::AudioDescriptors::LoadZeroCrossingRate ( CLAM::Storage s  )  [inline]

Definition at line 83 of file AudioDescriptors.hxx.

void CLAM::AudioDescriptors::SetpAudio ( Audio pAudio  ) 

Definition at line 67 of file AudioDescriptors.cxx.

References CLAM::DescriptorTmpl< abs >::InitStats().


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