summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2008-02-10 17:35:46 +0000
committerJonas Häggqvist <rasher@rasher.dk>2008-02-10 17:35:46 +0000
commit0ff9141652888ec5a87279d5547421d9706752e1 (patch)
tree265c8bf7a6b06c517e2ab61b61672db65572af0d /tools
parent85f371edb583bc2d6f52b97bdd72b6daab78243c (diff)
Revert the espeak commit as the method was completely broken.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16272 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure86
1 files changed, 0 insertions, 86 deletions
diff --git a/tools/configure b/tools/configure
index e6a99a5148..5c8165c3ef 100755
--- a/tools/configure
+++ b/tools/configure
@@ -337,23 +337,6 @@ whichadvanced () {
fi
}
-getespeakopts () {
- langcode=$1
- i=1
- espeak --voices=$langcode |grep -v ^Pty | sed -e 's/ \+/ /g' |(while read line; do
- IFS=" "
- echo $line| (read pty lang agegender voicename file otherlangs
- printf "%2d. %s (%s)\n" $i "$voicename" "$agegender"
- )
- i=`expr $i + 1`
- done)
- printf "Which voice should be used [1]?: "
- read reply
- if [ "$reply" = "" ]; then reply=1; fi
- VOICE=`espeak --voices=$langcode |head -n \`expr $reply + 1\` |tail -n 1 |sed -e 's/ \+/ /g' -e 's/ *[^\ ]\+ [^\ ]\+ [^\ ]\+ \([^\ ]\+\).*/\1/'`
- ESPEAK_OPTS="-v $VOICE"
-}
-
# Configure voice settings
voiceconfig () {
thislang=$1
@@ -458,75 +441,6 @@ voiceconfig () {
esac
echo "Using $TTS_ENGINE for TTS"
- if [ "$TTS_ENGINE" = "espeak" ]; then
- case "$thislang" in
- "afrikaans")
- getespeakopts "af"
- ;;
- chinese-*)
- getespeakopts "zh"
- ;;
- "czech")
- getespeakopts "cs"
- ;;
- "deutsch")
- getespeakopts "de"
- ;;
- "greek")
- getespeakopts "el"
- ;;
- "english")
- getespeakopts "en"
- ;;
- "esperanto")
- getespeakopts "eo"
- ;;
- "espanol")
- getespeakopts "es"
- ;;
- "finnish")
- getespeakopts "fi"
- ;;
- "francais")
- getespeakopts "fr"
- ;;
- "hindi")
- getespeakopts "hi"
- ;;
- "islenska")
- getespeakopts "is"
- ;;
- "italiano")
- getespeakopts "it"
- ;;
- "nederlands")
- getespeakopts "nl"
- ;;
- "norsk")
- getespeakopts "no"
- ;;
- "polski")
- getespeakopts "pl"
- ;;
- portugues*)
- getespeakopts "pt"
- ;;
- "romaneste")
- getespeakopts "ro"
- ;;
- "russian")
- getespeakopts "ru"
- ;;
- "svenska")
- getespeakopts "sv"
- ;;
- *)
- ESPEAK_OPTS=""
- ;;
- esac
- TTS_OPTS="${TTS_OPTS}${ESPEAK_OPTS}"
- fi
-
# Allow the user to input manual commandline options
printf "Enter $TTS_ENGINE options (enter for defaults \"$TTS_OPTS\"): "
USER_TTS_OPTS=`input`