mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 14:04:27 +00:00
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:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user