MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ voicing_analyzer_config()

WaveformAnalyzerConfig MayaFlux::Yantra::voicing_analyzer_config ( double sample_rate,
uint32_t hop = 256 )
inlinenodiscard

The waveform analyzer settings the voicing measure uses at the given rate and hop.

Unbiased periodicity, so that one voicing threshold serves every pitch.

Definition at line 126 of file SpeechSegmenter.hpp.

127{
128 WaveformAnalyzerConfig settings;
129 settings.sample_rate = sample_rate;
130 settings.hop_size = hop;
131 settings.unbiased_periodicity = true;
132 return settings;
133}
uint32_t hop_size
Distance between successive windows in samples.
Definition Analyzer.hpp:66
bool unbiased_periodicity
Report the strength of the chosen lag divided by the share of window pairs that lag has,...
double sample_rate
Samples per second of the analysed signal.
Settings of a WaveformAnalyzer.

References MayaFlux::Yantra::AnalyzerConfig::hop_size, MayaFlux::Yantra::WaveformAnalyzerConfig::sample_rate, and MayaFlux::Yantra::WaveformAnalyzerConfig::unbiased_periodicity.

Referenced by MayaFlux::Yantra::PhonemeExtractor< std::vector< Kakshya::DataVariant >, Kakshya::CompositeArray >::find_voiced(), and MayaFlux::Yantra::SpeechSegmenter< std::vector< Kakshya::DataVariant >, Kakshya::RegionGroup >::measure_speech().

Here is the caller graph for this function: