|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Initial settings for energy analysis. More...
#include <EnergyAnalyzer.hpp>
Collaboration diagram for MayaFlux::Yantra::EnergyAnalyzerConfig:Public Attributes | |
| bool | classification_enabled { false } |
| Whether to classify energy levels. | |
| AnalysisGranularity | granularity { AnalysisGranularity::RAW_VALUES } |
| Level at which the analyzer processes input. | |
| uint32_t | hop_size { 128 } |
| Distance between successive windows in samples. | |
| EnergyMethod | method { EnergyMethod::RMS } |
| Energy calculation to perform. | |
| std::map< std::string, std::any > | parameters |
| Additional named parameters applied last. | |
| std::array< double, 4 > | thresholds { 0.01, 0.1, 0.5, 0.8 } |
| Silent, quiet, moderate, and loud boundaries, in that order. | |
| uint32_t | window_size { 256 } |
| Analysis window length in samples. | |
Initial settings for energy analysis.
Pass this aggregate with designated initializers to the config constructor. Named parameters are applied after the typed settings.
Definition at line 94 of file EnergyAnalyzer.hpp.