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