summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-04-20 08:49:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-20 08:50:06 -0400
commit27b44bca7325b72f881505029c1020eeb3a3bd23 (patch)
tree9695a61695f2fe331c5d08a8b1317a87387903d5 /tools
parentacda37edd13b9c6aca16cd1d1ee9183368d5b40c (diff)
configure: Get rid of the unused NOISEFLOOR option in voicefile generation
Change-Id: Id3b281e62487858120aae97cd5ee0ef888cf89a0
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/configure b/tools/configure
index 31445b792b..762caec162 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1101,7 +1101,6 @@ voiceconfig () {
FLITE_OPTS=""
DEFAULT_TTS="flite"
DEFAULT_TTS_OPTS=$FLITE_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="l"
fi
if [ -n "`findtool espeak`" ]; then
@@ -1109,7 +1108,6 @@ voiceconfig () {
ESPEAK_OPTS=""
DEFAULT_TTS="espeak"
DEFAULT_TTS_OPTS=$ESPEAK_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="e"
fi
if [ -n "`findtool espeak-ng`" ]; then
@@ -1117,7 +1115,6 @@ voiceconfig () {
ESPEAK_OPTS=""
DEFAULT_TTS="espeak-ng"
DEFAULT_TTS_OPTS=$ESPEAK_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="e"
fi
if [ -n "`findtool festival`" ]; then
@@ -1125,7 +1122,6 @@ voiceconfig () {
FESTIVAL_OPTS=""
DEFAULT_TTS="festival"
DEFAULT_TTS_OPTS=$FESTIVAL_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="f"
fi
if [ -n "`findtool mimic`" ]; then
@@ -1133,7 +1129,6 @@ voiceconfig () {
MIMIC_OPTS=""
DEFAULT_TTS="mimic"
DEFAULT_TTS_OPTS=$MIMIC_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="M"
fi
if [ -n "`findtool swift`" ]; then
@@ -1141,7 +1136,6 @@ voiceconfig () {
SWIFT_OPTS=""
DEFAULT_TTS="swift"
DEFAULT_TTS_OPTS=$SWIFT_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="w"
fi
# Allow SAPI if Windows is in use
@@ -1150,7 +1144,6 @@ voiceconfig () {
SAPI_OPTS=""
DEFAULT_TTS="sapi"
DEFAULT_TTS_OPTS=$SAPI_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="S"
fi
if [ -n "`findtool gtts-cli`" ]; then
@@ -1158,7 +1151,6 @@ voiceconfig () {
GTTS_OPTS=""
DEFAULT_TTS="gtts"
DEFAULT_TTS_OPTS=$GTTS_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="g"
fi
if [ -n "`findtool rbspeak`" ]; then
@@ -1166,7 +1158,6 @@ voiceconfig () {
RBSPEAK_OPTS=""
DEFAULT_TTS="rbspeak"
DEFAULT_TTS_OPTS=$RBSPEAK_OPTS
- DEFAULT_NOISEFLOOR="500"
DEFAULT_CHOICE="O"
fi
@@ -1186,48 +1177,39 @@ voiceconfig () {
case "$option" in
[Ll]|flite)
TTS_ENGINE="flite"
- NOISEFLOOR="500" # TODO: check this value
TTS_OPTS=$FLITE_OPTS
;;
[Ee]|espeak)
TTS_ENGINE="espeak"
- NOISEFLOOR="500"
TTS_OPTS=$ESPEAK_OPTS
;;
[Ff]|festival)
TTS_ENGINE="festival"
- NOISEFLOOR="500"
TTS_OPTS=$FESTIVAL_OPTS
;;
[Mm]|mimic)
TTS_ENGINE="mimic"
- NOISEFLOOR="500"
TTS_OPTS=$MIMIC_OPTS
;;
[Ss]|sapi)
TTS_ENGINE="sapi"
- NOISEFLOOR="500"
TTS_OPTS=$SAPI_OPTS
;;
[Ww]|swift)
TTS_ENGINE="swift"
- NOISEFLOOR="500"
TTS_OPTS=$SWIFT_OPTS
;;
[Gg]|gtts)
TTS_ENGINE="gtts"
- NOISEFLOOR="500"
TTS_OPTS=$GTTS_OPTS
;;
[Oo]|rbspeak)
TTS_ENGINE="rbspeak"
- NOISEFLOOR="500"
TTS_OPTS=$RBSPEAK_OPTS
;;
*)
TTS_ENGINE=$DEFAULT_TTS
TTS_OPTS=$DEFAULT_TTS_OPTS
- NOISEFLOOR=$DEFAULT_NOISEFLOOR
esac
echo "Using $TTS_ENGINE for TTS"