MCPcopy Create free account
hub / github.com/MTG/essentia / DynamicComplexity

Method DynamicComplexity

src/algorithms/highlevel/dynamiccomplexity.cpp:157–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155namespace streaming {
156
157DynamicComplexity::DynamicComplexity() : AlgorithmComposite() {
158
159 _dynAlgo = standard::AlgorithmFactory::create("DynamicComplexity");
160 _poolStorage = new PoolStorage<Real>(&_pool, "internal.signal");
161
162 declareInput(_signal, "signal", "the input audio signal");
163 declareOutput(_complexity, 0, "dynamicComplexity", "the dynamic complexity coefficient");
164 declareOutput(_loudness, 0, "loudness", "an estimate of the loudness [dB]");
165
166 _signal >> _poolStorage->input("data");
167}
168
169void DynamicComplexity::configure() {
170 _dynAlgo->configure("sampleRate", parameter("sampleRate").toInt(),

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected