|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Settings of a PhonemeAnalyzer. More...
#include <PhonemeAnalyzer.hpp>
Public Member Functions | |
| PhonemeAnalyzerConfig () | |
| Public Member Functions inherited from MayaFlux::Yantra::OperationConfig | |
| template<typename Op> | |
| void | apply_to (Op &operation) const |
| Apply retained concrete settings to an operation through its parent contract. | |
| template<typename T> | |
| const T * | get () const |
| The struct of this type, or nullptr when absent. | |
| OperationConfig ()=default | |
| template<typename Config> requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>) | |
| OperationConfig (Config &&config) | |
| Retain a concrete config whole when placed in a parent-config collection. | |
| OperationConfig (const OperationConfig &)=default | |
| OperationConfig (OperationConfig &&) noexcept=default | |
| OperationConfig & | operator= (const OperationConfig &)=default |
| OperationConfig & | operator= (OperationConfig &&) noexcept=default |
| template<typename T> | |
| void | set (T value) |
| Stores a struct under its type identity. | |
Public Attributes | |
| bool | keep_embeddings { false } |
| Also read back the network's state of every frame. | |
| Reflect::EnumByte< PhonemeMethod > | method { PhonemeMethod::POSTERIORS } |
| Values reported as the output data, as a PhonemeMethod value. | |
| double | sample_rate { static_cast<double>(HubertPhonemeModel::sample_rate) } |
| Sample rate in Hz of the input. | |
| Public Attributes inherited from MayaFlux::Yantra::AnalyzerConfig | |
| bool | classification_enabled { false } |
| Whether to classify energy or value levels. | |
| AnalysisGranularity | granularity { AnalysisGranularity::RAW_VALUES } |
| Level at which the analyzer processes input. | |
| uint32_t | hop_size { 128 } |
| Distance between successive windows in samples. | |
| uint32_t | window_size { 256 } |
| Analysis window length in samples. | |
Settings of a PhonemeAnalyzer.
The network fixes a frame at 400 samples of 16 kHz audio every 320 samples, so the window and hop of the base config are not settings. sample_rate states the rate of the input and exists so that a wrong one is refused with its reason: the analyzer does not convert.
Definition at line 41 of file PhonemeAnalyzer.hpp.