Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/speech.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-08-23 10:47:43 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-10-11 20:58:10 (GMT)
commit9741582464d50c6a3367d9391068095236d3cad9 (patch)
tree22fba4d567fc48e25080513a1748acc839729cec /speech.py
parent7c84598386c1b341c7be2ca914ac9d7bf882c397 (diff)
Initial port to Gtk3 and Abiword introspection bindings.
Signed-off-by: Carlos Garnacho <carlos.garnacho@lanedo.com> Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'speech.py')
-rw-r--r--speech.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/speech.py b/speech.py
index 1e88a86..176b8b5 100644
--- a/speech.py
+++ b/speech.py
@@ -21,19 +21,19 @@ _logger = logging.getLogger('write-activity')
supported = True
-try:
- import gst
- gst.element_factory_make('espeak')
- from speech_gst import *
- _logger.info('use gst-plugins-espeak')
-except Exception, e:
- _logger.info('disable gst-plugins-espeak: %s' % e)
- try:
- from speech_dispatcher import *
- _logger.info('use speech-dispatcher')
- except Exception, e:
- supported = False
- _logger.info('disable speech: %s' % e)
+#try:
+# import gst
+# gst.element_factory_make('espeak')
+# from speech_gst import *
+# _logger.info('use gst-plugins-espeak')
+#except Exception, e:
+# _logger.info('disable gst-plugins-espeak: %s' % e)
+# try:
+# from speech_dispatcher import *
+# _logger.info('use speech-dispatcher')
+# except Exception, e:
+# supported = False
+# _logger.info('disable speech: %s' % e)
voice = 'default'
pitch = 0