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

◆ is_selected()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Kakshya::CompositeArray>
bool MayaFlux::Yantra::PhonemeExtractor< InputType, OutputType >::is_selected ( const PhonemeEvent & event,
PhonemeSelection selection )
inlinestaticprivate

Definition at line 345 of file PhonemeExtractor.hpp.

346 {
347 switch (selection) {
349 return HubertPhonemeModel::is_vowel(event.phoneme);
351 return !HubertPhonemeModel::is_vowel(event.phoneme);
353 default:
354 return true;
355 }
356 }
static bool is_vowel(uint32_t index) noexcept
Whether a class is a vowel phoneme.
The phonemes of a whole mono 16 kHz recording, with the pauses between speech taken out.

Referenced by MayaFlux::Yantra::PhonemeExtractor< std::vector< Kakshya::DataVariant >, Kakshya::CompositeArray >::selected_rows().

Here is the caller graph for this function: