From f02ba7910e26b7a76c75dc0782da376db75aff15 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 14 Dec 2016 09:50:23 +0100 Subject: [PATCH 1/4] Update espeak.py --- src/fenrir/speechDriver/espeak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/speechDriver/espeak.py b/src/fenrir/speechDriver/espeak.py index 7d9bef65..b9457852 100644 --- a/src/fenrir/speechDriver/espeak.py +++ b/src/fenrir/speechDriver/espeak.py @@ -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: From b4f1c0605a8eb089ca195be9d0d8f66d83a993bc Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 14 Dec 2016 10:01:33 +0100 Subject: [PATCH 2/4] Update espeak.py --- src/fenrir/speechDriver/espeak.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir/speechDriver/espeak.py b/src/fenrir/speechDriver/espeak.py index b9457852..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 From a20841fae6b706d631abd67280ced2b49a64c263 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 14 Dec 2016 10:02:48 +0100 Subject: [PATCH 3/4] Update settings.conf --- config/settings/settings.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 4e89a9a0e66abe73bebf7ac948e25e3221355142 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 14 Dec 2016 10:03:01 +0100 Subject: [PATCH 4/4] Update settings.conf.chrys --- config/settings/settings.conf.chrys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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