#include <AudioDescriptors.hxx>
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 Audio * | GetpAudio () const |
void | SetpAudio (Audio *pAudio) |
void | ConcreteCompute () |
Definition at line 38 of file AudioDescriptors.hxx.
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.
CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE | ( | 7 | , | |
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 | ( | 6 | , | |
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 | ( | 5 | , | |
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.
The squared sum of audio samples amplitudes.
This measure is not limited to the range [0,1]. Measured in squared signal units.
Definition at line 76 of file AudioDescriptors.hxx.
CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE | ( | 3 | , | |
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 | ( | 2 | , | |
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.
Definition at line 61 of file AudioDescriptors.hxx.
CLAM::AudioDescriptors::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
TData | , | |||
Variance | ||||
) | [inline] |
The variance of audio samples amplitude.
The result is in signal difference squared units.
Definition at line 51 of file AudioDescriptors.hxx.
The mean value of the absolute value of the audio samples amplitude.
The result is in signal units.
Definition at line 46 of file AudioDescriptors.hxx.
CLAM::AudioDescriptors::__COMMON_DYNAMIC_TYPE | ( | AudioDescriptors | , | |
8 | ||||
) |
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().