the google online voice is considered one of the most realistic voices.
you can test the Google Assistant Voice in your browser before installing:
and here is how to install it on a Vigibot Robot:
1) log in to your raspberry via SSH as the user pi.
2) download the TTS script "OgeSS.sh" by running:
wget https://www.robot-maker.com/vigibot/OgeSS.shthe script splits the input into 100 character chunks, and replaces some characters.
(the original script is from here, i adjusted a couple of lines:
3) make the script executable:
chmod +x OgeSS.sh4) install the mpg123 package by running:
sudo apt-get install mpg1235) modify your/boot/robot.json by typing:
sudo nano /boot/robot.jsonand add the following code into the brackets:
, "CMDTTS": "/home/pi/OgeSS.sh PLAYBACKDEVICE fr-FR > /dev/null"it should look like this: (don't forget the , on the previous line)
after a client restart the Google Assistant Voice should be activated and speak everything you type in the chat.
if it's your first time using a TTS make sure you have the correct number set in Management -> interface config -> PLAYBACKDEVICE , usually it's 0 or 1.
to change the TTS language, edit your /boot/robot.json file and set your language code.
fr-FR, en-US, de-DE are examples.
all available voices are listed here:
see also these TTS related posts:
Enable espeak markup language
Amazon alexa TTS
Modifié par firened, 10 septembre 2020 - 10:10 .