From b03aa4e750d90778287cc20d7d1408b711ea9332 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Wed, 12 May 2021 09:22:08 -0700 Subject: [PATCH] Fix up install cepstral a little --- speech/install_cepstral.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/speech/install_cepstral.sh b/speech/install_cepstral.sh index 1fdbe30..2f971a5 100755 --- a/speech/install_cepstral.sh +++ b/speech/install_cepstral.sh @@ -8,6 +8,8 @@ # Dialog accessibility export DIALOGOPTS='--no-lines --visit-items' +# Turn off debug messages +export WINEDEBUG="-all" # Make sure display is set in case installed from console. export DISPLAY="${DISPLAY:-:0}" # Version number, to easily keep script up-to-date. @@ -112,7 +114,9 @@ cmd="${cmd} ~/Downloads/Cepstral_${voice}_windows_${version}.${msiexe}" # Install the voice (eval "$cmd" & [ "$msiexe" = "exe" ] && xdotool sleep 20 key --delay 75 alt+n key --delay 75 alt+a key --delay 75 alt+n key --delay 75 alt+o key --delay 75 alt+i sleep 20 key --delay 75 alt+f -wineserver -w -find "${WINEPREFIX}/drive_c/Program Files/Cepstral/voices" -type d -not -name voices -exec bash -c 'for d ; do echo "GAIN 2.5" > "$d/default.sfx";done' _ {} \;) | dialog --progressbox "installing voice..." -1 -1 +wineserver -w) | dialog --progressbox "installing voice..." -1 -1 + +# Make voices louder. +find "${WINEPREFIX}/drive_c/Program Files/Cepstral/voices" -type d -not -name voices -exec bash -c 'for d ; do echo "GAIN 2.5" > "$d/default.sfx";done' _ {} \; exit 0