MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::SpeechSegmenterConfig Struct Reference

Settings of a SpeechSegmenter. More...

#include <SpeechSegmenter.hpp>

Inheritance diagram for MayaFlux::Yantra::SpeechSegmenterConfig:
Collaboration diagram for MayaFlux::Yantra::SpeechSegmenterConfig:

Public Attributes

double sample_rate { static_cast<double>(SileroVadModel::sample_rate) }
 Sample rate in Hz of the input.
SpeechSettings speech {}
 How speech is found and measured.
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.

Detailed Description

Settings of a SpeechSegmenter.

sample_rate states the rate of the input and is refused unless it is 16000, as the network runs at that rate only.

Definition at line 61 of file SpeechSegmenter.hpp.


The documentation for this struct was generated from the following file: