From 5c455f056baae84965cfa88c49d4ae1a1a29e929 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Sat, 23 Apr 2022 17:50:46 -0400 Subject: [PATCH] Fix typo with major/minor break silence --- mimic3-tts/mimic3_tts/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mimic3-tts/mimic3_tts/tts.py b/mimic3-tts/mimic3_tts/tts.py index 9a23395..ed6170b 100644 --- a/mimic3-tts/mimic3_tts/tts.py +++ b/mimic3-tts/mimic3_tts/tts.py @@ -340,7 +340,7 @@ class Mimic3TextToSpeechSystem(TextToSpeechSystem): def speak_text(self, text: str, text_language: typing.Optional[str] = None): voice = self._get_or_load_voice(self.voice) - minor_break_ms = voice.config.inference.major_break_ms + minor_break_ms = voice.config.inference.minor_break_ms major_break_ms = voice.config.inference.major_break_ms for sent_phonemes, break_type in voice.text_to_phonemes(