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:
jonsd
2007-10-18 12:09:06 +00:00
parent dbe268fc06
commit e5f2d6f4c6
5 changed files with 14 additions and 23 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
#define SFLAG_LENGTHEN 0x08 // lengthen symbol : included after this phoneme
#define SFLAG_DICTIONARY 0x10 // the pronunciation of this word was listed in the xx_list dictionary
#define SFLAG_SWITCHED_LANG 0x20 // this word uses phonemes from a different language
#define SFLAG_PROMOTE_STRESS 0x40 // this unstressed word can be promoted to stressed
// embedded command numbers
#define EMBED_P 1 // pitch