Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/wordsactivity.py
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2011-08-30 15:23:07 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-08-30 15:23:07 (GMT)
commit186d19b9ca5e095c2a42decdc0591ec16cca1b99 (patch)
treee9f604fe6e58297d24c0cca90053636e903ce535 /wordsactivity.py
parentba3e81db4ac2c09829dbee682e754450196049dd (diff)
AU costumizationHEADmaster
Diffstat (limited to 'wordsactivity.py')
-rw-r--r--wordsactivity.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/wordsactivity.py b/wordsactivity.py
index afa7369..0b53a27 100644
--- a/wordsactivity.py
+++ b/wordsactivity.py
@@ -206,6 +206,15 @@ class WordsActivity(activity.Activity):
subprocess.call(["aplay", tmpfile])
os.unlink(tmpfile)
+ #AU costumization
+ if lang == "english":
+ lang = "english_rp"
+ tmpfile = "/tmp/something.wav"
+ subprocess.call(["espeak", text, "-w", tmpfile, "-v", lang])
+ subprocess.call(["aplay", tmpfile])
+ os.unlink(tmpfile)
+
+
def lang1combo_cb(self, combo):
pass