mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.39.22]
*_list files, allow words in all-capitals which imply $allcaps attribute. Voices: Look for voices also in espeak-data/voices/test. lang=eo: Adjust syllable lengths. Use break between word (word_gap=1). wave.cpp: Fixes to copyBuffer(), wave_write(). git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@201 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -487,6 +487,14 @@ void Translator::CalcLengths()
|
||||
}
|
||||
|
||||
// calc length modifier
|
||||
if(next->ph->code == phonPAUSE_VSHORT)
|
||||
{
|
||||
// ignore very short pause
|
||||
next = next2;
|
||||
next2 = next3;
|
||||
next3 = &phoneme_list[ix+4];
|
||||
}
|
||||
|
||||
if(more_syllables==0)
|
||||
{
|
||||
len = langopts.length_mods0[next2->ph->length_mod *10+ next->ph->length_mod];
|
||||
|
||||
Reference in New Issue
Block a user