#include <AudioDescriptors.hxx>

Definition at line 38 of file AudioDescriptors.hxx.
Public Member Functions | |
| DYNAMIC_TYPE_USING_INTERFACE (AudioDescriptors, 8, DescriptorAbs) | |
| DYN_ATTRIBUTE (0, public, TData, Mean) | |
| The mean value of the absolute value of the audio samples amplitude. | |
| DYN_ATTRIBUTE (1, public, TData, Variance) | |
| The variance of audio samples amplitude. | |
| DYN_ATTRIBUTE (2, public, TData, TemporalCentroid) | |
| The temporal centroid is time where signal energy is "concentrated". | |
| DYN_ATTRIBUTE (3, public, TData, LogAttackTime) | |
| The log-attack time is the (base 10) logarithm of the rise time. | |
| DYN_ATTRIBUTE (4, public, TData, Energy) | |
| The squared sum of audio samples amplitudes. | |
| DYN_ATTRIBUTE (5, public, TData, ZeroCrossingRate) | |
| The zero-crossing rate is a measure of the number of time the signal value cross the zero axe, averaged over the whole signal. | |
| DYN_ATTRIBUTE (6, public, TData, RiseTime) | |
| 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. | |
| DYN_ATTRIBUTE (7, public, TData, Decrease) | |
| The temporal decrease is a measure of the amount of decrease in the signal energy. | |
| AudioDescriptors (Audio *pAudio) | |
| AudioDescriptors (TData initVal) | |
| const Audio * | GetpAudio () const |
| void | SetpAudio (Audio *pAudio) |
| void | ConcreteCompute () |
| CLAM::AudioDescriptors::AudioDescriptors | ( | Audio * | pAudio | ) |
Definition at line 34 of file AudioDescriptors.cxx.
| CLAM::AudioDescriptors::AudioDescriptors | ( | TData | initVal | ) |
| CLAM::AudioDescriptors::DYNAMIC_TYPE_USING_INTERFACE | ( | AudioDescriptors | , | |
| 8 | , | |||
| DescriptorAbs | ||||
| ) |
The mean value of the absolute value of the audio samples amplitude.
The result is in signal units.
| CLAM::AudioDescriptors::DYN_ATTRIBUTE | ( | 1 | , | |
| public | , | |||
| TData | , | |||
| Variance | ||||
| ) |
The variance of audio samples amplitude.
The result is in signal difference squared units.
| CLAM::AudioDescriptors::DYN_ATTRIBUTE | ( | 2 | , | |
| public | , | |||
| TData | , | |||
| TemporalCentroid | ||||
| ) |
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.
| CLAM::AudioDescriptors::DYN_ATTRIBUTE | ( | 3 | , | |
| public | , | |||
| TData | , | |||
| LogAttackTime | ||||
| ) |
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).
The squared sum of audio samples amplitudes.
This measure is not limited to the range [0,1]. Measured in squared signal units.
| CLAM::AudioDescriptors::DYN_ATTRIBUTE | ( | 5 | , | |
| public | , | |||
| TData | , | |||
| ZeroCrossingRate | ||||
| ) |
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.
| CLAM::AudioDescriptors::DYN_ATTRIBUTE | ( | 6 | , | |
| public | , | |||
| TData | , | |||
| RiseTime | ||||
| ) |
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.
| CLAM::AudioDescriptors::DYN_ATTRIBUTE | ( | 7 | , | |
| public | , | |||
| TData | , | |||
| Decrease | ||||
| ) |
The temporal decrease is a measure of the amount of decrease in the signal energy.
Measured in dB per seconds??
| const Audio * CLAM::AudioDescriptors::GetpAudio | ( | ) | const |
Definition at line 64 of file AudioDescriptors.cxx.
| void CLAM::AudioDescriptors::SetpAudio | ( | Audio * | pAudio | ) |
Definition at line 70 of file AudioDescriptors.cxx.
References CLAM::DescriptorTmpl< abs >::InitStats().
| void CLAM::AudioDescriptors::ConcreteCompute | ( | ) | [virtual] |
Implements CLAM::DescriptorTmpl< abs >.
Definition at line 77 of file AudioDescriptors.cxx.
References CLAM::StatsTmpl< abs, T, U, initOrder >::GetCentroid(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetEnergy(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetMean(), CLAM::StatsTmpl< abs, T, U, initOrder >::GetVariance(), and CLAM::DescriptorTmpl< abs >::mpStats.
1.5.5