summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-10 19:49:35 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-11 00:09:49 +0000
commit938d82035530dde86ff607f4fe99194f1efe6c90 (patch)
tree981cbe229ada2389d3d7a677074f2a1d27180c6d /tools/configure
parent711bff47b74641c888de59c269ed76e99f16a239 (diff)
downloadrockbox-938d82035530dde86ff607f4fe99194f1efe6c90.tar.gz
rockbox-938d82035530dde86ff607f4fe99194f1efe6c90.zip
voices: Add tts language mappings for the top 19 languages
festival: english and spanish only gtts: all but nederlands espeak: all (need espeak-ng for czech, greek, and japanese) Change-Id: I7df1b3235b48f352b0af3c13e3742e85432bc692
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index aa8b190250..9069c84e3b 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1109,6 +1109,14 @@ voiceconfig () {
DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="e"
fi
+ if [ -n "`findtool espeak-ng`" ]; then
+ ESPEAK="(e)Speak-ng "
+ ESPEAK_OPTS=""
+ DEFAULT_TTS="espeak-ng"
+ DEFAULT_TTS_OPTS=$ESPEAK_OPTS
+ DEFAULT_NOISEFLOOR="500"
+ DEFAULT_CHOICE="e"
+ fi
if [ -n "`findtool festival`" ]; then
FESTIVAL="(F)estival "
FESTIVAL_OPTS=""