Lang=fr change to phonemes [o] [O] [A~] [O~] [R]

Added new phonemes [s.] and [z.] (as common phonemes), use in Lang=ru, Lang=sv, Lang=hi
Remake WAV files for [s;] and [z;] phonemes.
espeak_Terminate(), set pointers to NULL after free().
espeak_Initialize(), returns EE_INTERNAL_ERROR (-1) if fails to allocate memory.
Change to the default tone setting (array: tone_points in voices.cpp).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@5 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-05-08 08:02:15 +00:00
parent 9099061844
commit 2a5c9b6748
29 changed files with 1413 additions and 132 deletions
+2 -2
View File
@@ -1098,9 +1098,9 @@ void Translator::SetWordStress(char *output, unsigned int dictionary_flags, int
if((langopts.stress_flags & 0x1000) && (vowel_stress[1] == 0))
{
if((vowel_count == 3) && (vowel_stress[2] >= 4))
// If there is only one syllable before the primary stress, give it a secondary stress
if((vowel_count > 2) && (vowel_stress[2] >= 4))
{
// 2-syllable word, put a secondary stress on the initial syllable
vowel_stress[1] = 3;
}
}