mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Fix a numerical overflow in wavegen() which could cause distortion when a voice file increases the height of formant peaks.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@92 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -1494,7 +1494,7 @@ int Translator::TranslateWord2(char *word, WORD_TAB *wtab, int pre_pause, int ne
|
||||
if(flags & FLAG_STRESS_END2)
|
||||
{
|
||||
// this's word's stress could be increased later
|
||||
ph_list2[max_stress_ix].stress |= 0x80;
|
||||
ph_list2[max_stress_ix].synthflags |= SFLAG_PROMOTE_STRESS;
|
||||
}
|
||||
|
||||
prev_dict_flags = flags;
|
||||
|
||||
Reference in New Issue
Block a user