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

◆ extract_phonemes() [1/2]

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Kakshya::CompositeArray>
PhonemeExtraction MayaFlux::Yantra::PhonemeExtractor< InputType, OutputType >::extract_phonemes ( const input_type & data)
inline

Type-safe phoneme extraction.

Returns
The record of the run.

Definition at line 205 of file PhonemeExtractor.hpp.

206 {
207 const auto result = this->apply_operation(data);
208 const auto* record = result.facets.template get<PhonemeExtraction>();
209 if (record == nullptr) {
211 std::source_location::current(), "Phoneme extraction produced no result");
212 }
213 return *record;
214 }
output_type apply_operation(const input_type &input)
Public synchronous execution interface.
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 >::extract_phonemes().

Here is the caller graph for this function: