|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Settings of a PhonemeExtractor. More...
#include <PhonemeExtractor.hpp>
Public Attributes | |
| VoicingGate | gate {} |
| Trims vowel ranges to voiced stretches. | |
| bool | merge_adjacent { false } |
| Join output ranges that touch, so a run of phonemes is one range. | |
| Reflect::EnumByte< PhonemeSelection > | method { PhonemeSelection::ALL } |
| Which phonemes the output holds, as a PhonemeSelection value. | |
| double | sample_rate { static_cast<double>(SileroVadModel::sample_rate) } |
| Sample rate in Hz of the input. | |
| SpeechSettings | speech {} |
| How speech is found. | |
| Public Attributes inherited from MayaFlux::Yantra::ExtractorConfig | |
| ExtractionScope | scope { ExtractionScope::FULL_DATA } |
| Portion of the input to extract from. | |
Additional Inherited Members | |
| 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. | |
Settings of a PhonemeExtractor.
sample_rate states the rate of the input and is refused unless it is 16000, as the networks run at that rate only. speech is passed to the SpeechSegmenter, except that max_run is held to what one call of the phoneme network accepts and measure is ignored. merge_adjacent joins output ranges that touch, for slicing. gate trims vowel ranges to voiced stretches.
Definition at line 66 of file PhonemeExtractor.hpp.