Fix up install cepstral a little
This commit is contained in:
parent
084f24578a
commit
b03aa4e750
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
# Dialog accessibility
|
# Dialog accessibility
|
||||||
export DIALOGOPTS='--no-lines --visit-items'
|
export DIALOGOPTS='--no-lines --visit-items'
|
||||||
|
# Turn off debug messages
|
||||||
|
export WINEDEBUG="-all"
|
||||||
# Make sure display is set in case installed from console.
|
# Make sure display is set in case installed from console.
|
||||||
export DISPLAY="${DISPLAY:-:0}"
|
export DISPLAY="${DISPLAY:-:0}"
|
||||||
# Version number, to easily keep script up-to-date.
|
# Version number, to easily keep script up-to-date.
|
||||||
@ -112,7 +114,9 @@ cmd="${cmd} ~/Downloads/Cepstral_${voice}_windows_${version}.${msiexe}"
|
|||||||
# Install the voice
|
# Install the voice
|
||||||
(eval "$cmd" &
|
(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
|
[ "$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
|
wineserver -w) | dialog --progressbox "installing voice..." -1 -1
|
||||||
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
|
|
||||||
|
# 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
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user