Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/espeak_cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'espeak_cmd.py')
-rw-r--r--espeak_cmd.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/espeak_cmd.py b/espeak_cmd.py
index f074207..1f50bbf 100644
--- a/espeak_cmd.py
+++ b/espeak_cmd.py
@@ -25,7 +25,6 @@ import espeak
PITCH_MAX = 99
RATE_MAX = 99
-
class AudioGrabCmd(espeak.BaseAudioGrab):
def speak(self, status, text):
self.make_pipeline('filesrc name=file-source')
@@ -46,7 +45,6 @@ class AudioGrabCmd(espeak.BaseAudioGrab):
# play
self.restart_sound_device()
-
def voices():
out = []
result = subprocess.Popen(["espeak", "--voices"], stdout=subprocess.PIPE) \
@@ -57,7 +55,7 @@ def voices():
if not m:
continue
language, gender, name, stuff = m.groups()
- if stuff.startswith('mb/'): # or \
+ if stuff.startswith('mb/'): #or \
#name in ('en-rhotic','english_rp','english_wmids'):
# these voices don't produce sound
continue