Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/wordsactivity.py
diff options
context:
space:
mode:
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