diff --git a/config/settings/settings.conf b/config/settings/settings.conf index 4eebfaa9..aa0de415 100644 --- a/config/settings/settings.conf +++ b/config/settings/settings.conf @@ -38,7 +38,7 @@ driver=speechd # The rate selects how fast fenrir will speak. Options range from 0, slowest, to 1.0, fastest. -rate=0.45 +rate=0.6 # Pitch controls the pitch of the voice, select from 0, lowest, to 1.0, highest. pitch=0.5 diff --git a/config/settings/settings.conf.chrys b/config/settings/settings.conf.chrys index 22a9b7d1..c3e1916e 100644 --- a/config/settings/settings.conf.chrys +++ b/config/settings/settings.conf.chrys @@ -37,7 +37,7 @@ driver=speechd # The rate selects how fast fenrir will speak. Options range from 0, slowest, to 1.0, fastest. -rate=0.45 +rate=0.6 # Pitch controls the pitch of the voice, select from 0, lowest, to 1.0, highest. pitch=0.5 diff --git a/src/fenrir/speechDriver/espeak.py b/src/fenrir/speechDriver/espeak.py index 7d9bef65..71f933a7 100644 --- a/src/fenrir/speechDriver/espeak.py +++ b/src/fenrir/speechDriver/espeak.py @@ -25,10 +25,10 @@ class driver(): def shutdown(self): pass - def speak(self,text, queueable=True): + def speak(self,text, interrupt=True): if not self._isInitialized: return False - if not queueable: + if not interrupt: self.cancel() self._es.synth(text) return True @@ -62,7 +62,7 @@ class driver(): def setRate(self, rate): if not self._isInitialized: return False - return self._es.set_parameter(self._es.Parameter().Rate, int(rate*450 + 80)) + return self._es.set_parameter(self._es.Parameter().Rate, int(rate * 500 + 100)) def setModule(self, module): if not self._isInitialized: