From e080e9e5c33447ff00b10fbbc35aeebad9119e11 Mon Sep 17 00:00:00 2001 From: Rob van Son Date: Sun, 14 Jan 2018 13:49:34 +0100 Subject: [PATCH] Change in eSpeak synthesizer call (synthesis is wrong) --- InitialiseSGC2.praat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InitialiseSGC2.praat b/InitialiseSGC2.praat index 1cae30e..2c4f778 100644 --- a/InitialiseSGC2.praat +++ b/InitialiseSGC2.praat @@ -434,7 +434,7 @@ endproc # Make sure sgc2.synthesizer is set! procedure create_default_TTS .language$ .voice$ .samplefreq .gap .pitch_adj .pitch_range .words_per_minute .use_data$ .espeak_phones$ - sgc2.synthesizer = Create SpeechSynthesizer... '.language$' '.voice$' + sgc2.synthesizer = Create SpeechSynthesizer: .language$, .voice$ Set speech output settings... .samplefreq .gap .pitch_adj .pitch_range .words_per_minute '.use_data$' '.espeak_phones$' endproc @@ -526,8 +526,8 @@ procedure set_TTS_parameters else config.voice$ = replace_regex$(.voice$, ".", "\u&", 0) endif - sgc2.normalTTScommand$ = "call create_default_TTS Mandarin '.voice$' 10000 0.01 50 100 95 no IPA" - sgc2.advancedTTScommand$ = "call create_default_TTS Mandarin '.voice$' 10000 0.01 50 70 125 no IPA" + sgc2.normalTTScommand$ = "call create_default_TTS ""Chinese (Mandarin)"" '.voice$' 10000 0.01 50 100 95 no IPA" + sgc2.advancedTTScommand$ = "call create_default_TTS ""Chinese (Mandarin)"" '.voice$' 10000 0.01 50 70 125 no IPA" endif if macintosh and fileReadable("/usr/bin/say") sgc.nativeTTScommand$ = sgc.nativeOSXTTScommand$ -- 2.11.4.GIT