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

Trims vowel ranges to the stretches where the waveform is periodic. More...

#include <PhonemeExtractor.hpp>

Collaboration diagram for MayaFlux::Yantra::VoicingGate:

Public Attributes

bool enabled { false }
 Trim vowel ranges to voiced stretches.
uint32_t hop { 64 }
 Samples between waveform windows.
double threshold { 0.5 }
 Periodicity at or above which a window is voiced.

Detailed Description

Trims vowel ranges to the stretches where the waveform is periodic.

Vowels are periodic and most consonants are not, so a vowel range that strays into a burst or a fricative loses that part. A voiced consonant such as m or n is periodic too and is not removed. Off by default, because it runs a waveform analysis over the whole recording. It acts on the audio and region outputs when the selection is VOWELS; records, which describe what was recognised, and the other selections are not changed.

A window is voiced when its periodicity, divided by the share of pairs its lag can pair, is at least threshold. A voiced window stands for the hop samples around its centre, so a smaller hop gives finer edges at more cost. The threshold is a starting choice, not a measured one.

Definition at line 47 of file PhonemeExtractor.hpp.


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