#include <EnvelopeExtractor.hxx>
Definition at line 161 of file EnvelopeExtractor.hxx.
Public Member Functions | |
EnvelopeExtractor (const EnvExtractorConfig &c=EnvExtractorConfig()) | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
const ProcessingConfig & | GetConfig () const |
Configuration getter. | |
void | Attach (Audio &inp, Envelope &env) |
bool | Do (void) |
Supervised mode execution method (using ports). | |
bool | Do (const Audio &inp, Envelope &env) |
int | NPoints () const |
TData | NormalLevel () const |
TData | SilenceLevel () const |
TTime | InterpolationPeriod () const |
TTime | IntegrationLength () const |
TData | NormalLevelControl () const |
TData | SilenceLevelControl () const |
TTime | InterpolationPeriodControl () const |
TTime | IntegrationLengthControl () const |
Public Attributes | |
InControlTmpl< EnvelopeExtractor > | cInterpolationPeriod |
InControlTmpl< EnvelopeExtractor > | cIntegrationLength |
InControlTmpl< EnvelopeExtractor > | cNormalLevel |
InControlTmpl< EnvelopeExtractor > | cSilenceLevel |
InPort< Audio > | Input |
OutPort< Envelope > | Output |
CLAM::EnvelopeExtractor::EnvelopeExtractor | ( | const EnvExtractorConfig & | c = EnvExtractorConfig() |
) |
const char* CLAM::EnvelopeExtractor::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 180 of file EnvelopeExtractor.hxx.
const ProcessingConfig& CLAM::EnvelopeExtractor::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Reimplemented from CLAM::Processing.
Definition at line 182 of file EnvelopeExtractor.hxx.
bool CLAM::EnvelopeExtractor::Do | ( | void | ) | [virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 422 of file EnvelopeExtractor.cxx.
Definition at line 430 of file EnvelopeExtractor.cxx.
References CLAM::IntervalAmplitudeAverages::Acumulated(), CLAM::IntervalAmplitudeAverages::AdvanceFrame(), CLAM_ASSERT, CLAM::IntervalAmplitudeAverages::Compute(), and CLAM::Audio::GetSize().
int CLAM::EnvelopeExtractor::NPoints | ( | ) | const [inline] |
Definition at line 192 of file EnvelopeExtractor.hxx.
TData CLAM::EnvelopeExtractor::NormalLevel | ( | ) | const [inline] |
Definition at line 194 of file EnvelopeExtractor.hxx.
TData CLAM::EnvelopeExtractor::SilenceLevel | ( | ) | const [inline] |
Definition at line 196 of file EnvelopeExtractor.hxx.
TTime CLAM::EnvelopeExtractor::InterpolationPeriod | ( | ) | const [inline] |
Definition at line 198 of file EnvelopeExtractor.hxx.
TTime CLAM::EnvelopeExtractor::IntegrationLength | ( | ) | const [inline] |
Definition at line 200 of file EnvelopeExtractor.hxx.
TData CLAM::EnvelopeExtractor::NormalLevelControl | ( | ) | const [inline] |
Definition at line 202 of file EnvelopeExtractor.hxx.
TData CLAM::EnvelopeExtractor::SilenceLevelControl | ( | ) | const [inline] |
Definition at line 204 of file EnvelopeExtractor.hxx.
TTime CLAM::EnvelopeExtractor::InterpolationPeriodControl | ( | ) | const [inline] |
Definition at line 206 of file EnvelopeExtractor.hxx.
TTime CLAM::EnvelopeExtractor::IntegrationLengthControl | ( | ) | const [inline] |
Definition at line 208 of file EnvelopeExtractor.hxx.
Definition at line 170 of file EnvelopeExtractor.hxx.
Definition at line 171 of file EnvelopeExtractor.hxx.
Definition at line 172 of file EnvelopeExtractor.hxx.
Definition at line 173 of file EnvelopeExtractor.hxx.