Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/voice.py
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2011-09-26 19:18:24 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-09-26 19:18:24 (GMT)
commit01e376a0ade8eeae8362c2496da5d65d00a42238 (patch)
tree93f28a9229d3d4bd3b8ef1f2d578b2d1041d2dae /voice.py
parent129e6bd7cd9ff82b2cef1c78ad1c496f8fa0b2a1 (diff)
Set-english-rp-as-default-for-en_AU (Sebastian Silva)
Diffstat (limited to 'voice.py')
-rw-r--r--voice.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/voice.py b/voice.py
index 79744ca..7997354 100644
--- a/voice.py
+++ b/voice.py
@@ -158,6 +158,10 @@ def defaultVoice():
for voice in voices.values():
voiceMetric = fit(voice.language, lang)
bestMetric = fit(best.language, lang)
+ if lang=='en_AU.UTF-8':
+ if voice.friendlyname=='English (Received Pronunciation)':
+ best = voice
+ break
if voiceMetric > bestMetric:
best = voice