Skip to content

Instantly share code, notes, and snippets.

@stephenwithav
Forked from icaromag/install-ivona-sapi-tts.sh
Created December 24, 2016 00:28
Show Gist options
  • Save stephenwithav/d7a263c8c71f83054840744099c24200 to your computer and use it in GitHub Desktop.
Save stephenwithav/d7a263c8c71f83054840744099c24200 to your computer and use it in GitHub Desktop.
sudo dpkg --add-architecture i386
sudo add-apt-repository -y ppa:wine/wine-builds
sudo add-apt-repository -y ppa:ethanak/milena
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y --install-recommends winehq-devel
sudo apt-get install -y sapi4linux python-pyspda python-sapilektor libsapilektor-utils
#download das vozes
#wget http://150.165.205.9/players/ivona/ivona-full.tar.gz
wget http://150.165.205.9/players/ivona/ivona-ricardo.tar.gz
#wget http://150.165.205.9/players/ivona/
#wget http://150.165.205.9/players/ivona/crack-only.tar.gz
#rodar este shell e confirmar os prompts do wine:
bash /usr/lib/sapi4linux/install_sapi.sh
#depois abrir este arquivo e substituir wine=.winesapi por wine=wine no começo do arquivo
sudo nano /usr/lib/sapi4linux/install_sapiserver.sh
#depois rodar este script
bash /usr/lib/sapi4linux/install_sapiserver.sh
#extrair a voz
tar -zxvf /home/ubuntu/ivona-ricardo.tar.gz
#depois instalar a voz desmarcando a instalação do SAPI
wine /home/ubuntu/ivona/Ivona_Voice_1.6_Ricardo_22kHz.exe
#CRAKEAR A VOZ copiando a dll para o diretorio
#cp /home/ubuntu/ivona/crack_dll/ivona_sapi5_voice_v1.6.63.dll #para o diretorio
#reiniciar server
bash ~/bin/sapi_server.shc
#listar vozes
sapiconfig -n
#salvar configuração
sapiconfig -s
#executar a voz
sapitest -v Ricardo "Processo concluído com sucesso"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment