mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
[1.37.07]
Support for mbrola Brazilian voices, br1, br3. Included epenthetic vowel [i] in Brazilian. Languages changes: fr, af. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@179 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+10
-1
@@ -1170,7 +1170,16 @@ void Translator::SetWordStress(char *output, unsigned int dictionary_flags, int
|
||||
stressed_syllable = vowel_count - 1;
|
||||
if(max_stress == 0)
|
||||
{
|
||||
vowel_stress[stressed_syllable] = 4;
|
||||
while(stressed_syllable > 0)
|
||||
{
|
||||
if(vowel_stress[stressed_syllable] == 0)
|
||||
{
|
||||
vowel_stress[stressed_syllable] = 4;
|
||||
break;
|
||||
}
|
||||
else
|
||||
stressed_syllable--;
|
||||
}
|
||||
}
|
||||
max_stress = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user