mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-09 16:01:12 +00:00
[1.31.12]
Fix: reset phoneme table if speech is cancelled while switched to a second language. "speak": add -z options (same as for "espeak"). Numbers: Add option to speak "and" before hundreds. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@143 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -1544,6 +1544,11 @@ int SpeakNextClause(FILE *f_in, const void *text_in, int control)
|
||||
return(0);
|
||||
}
|
||||
|
||||
if(current_phoneme_table != voice->phoneme_tab_ix)
|
||||
{
|
||||
SelectPhonemeTable(voice->phoneme_tab_ix);
|
||||
}
|
||||
|
||||
// read the next clause from the input text file, translate it, and generate
|
||||
// entries in the wavegen command queue
|
||||
p_text = translator->TranslateClause(f_text,p_text,&clause_tone,&voice_change);
|
||||
|
||||
Reference in New Issue
Block a user