Skip to content

Instantly share code, notes, and snippets.

@icaromag
Last active August 29, 2023 20:16
Show Gist options
  • Save icaromag/89eaa7173005a1edcfe848c2a874d68a to your computer and use it in GitHub Desktop.
Save icaromag/89eaa7173005a1edcfe848c2a874d68a to your computer and use it in GitHub Desktop.
Install the Ivona / SAPI Text To Speech solution
# set the arch [IM]
sudo dpkg --add-architecture i386
# add the repos [IM]
sudo add-apt-repository -y ppa:wine/wine-builds
sudo add-apt-repository -y ppa:ethanak/milena
# update the deps [IM]
sudo apt-get update
sudo apt-get -y upgrade
# install main dependencies [IM]
sudo apt-get install -y --install-recommends winehq-devel
sudo apt-get install -y sapi4linux python-pyspda python-sapilektor libsapilektor-utils
# download the voices [IM]
# 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
# confirm wine prompts [IM]
bash /usr/lib/sapi4linux/install_sapi.sh
# replace "wine=.winesapi" with "wine=wine" without quotes [IM]
sudo nano /usr/lib/sapi4linux/install_sapiserver.sh
bash /usr/lib/sapi4linux/install_sapiserver.sh
tar -zxvf /home/ubuntu/ivona-ricardo.tar.gz
# install the voice unchecking the SAPI voice [IM]
wine /home/ubuntu/ivona/Ivona_Voice_1.6_Ricardo_22kHz.exe
# the dll that allows us to use it [IM]
# cp /home/ubuntu/ivona/crack_dll/ivona_sapi5_voice_v1.6.63.dll
# restart the server [IM]
bash ~/bin/sapi_server.shc
# list voices [IM]
sapiconfig -n
# save configs [IM]
sapiconfig -s
# do the trick [IM]
sapitest -v Ricardo "Instalação concluída"
@sweetbbak
Copy link

Does this still work?

@icaromag
Copy link
Author

Does this still work?

Honestly, I have no idea...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment