This is a guide for using the Pico TTS engine with HomeSeer for HSTouch verbal announcements on the Raspberry Pi 2 running full HomeSeer Linux. The voice is very good sounding.
Copy and paste commands one after the other into Terminal (at your own risk if something goes wrong).
git clone -b upstream+patches git://git.debian.org/collab-maint/svox.git svox-pico
apt-get install automake libtool libpopt-dev
cd svox-pico/pico
automake
./autogen.sh
./configure
make all
make install
Add this text into (pico2wave.conf) IN THE NEXT COMMAND: /usr/local/lib
nano /etc/ld.so.conf.d/pico2wave.conf
ldconfig
————————————
Now CD into your Linux HomeSeer directory open:
nano speak_to_file.sh
Make the contents of the file look like this (make a backup of that file first, in case you want to restore it later).
#!/bin/sh
#pico2wave -l en-US -w "$1" "$2"
#pico2wave -l en-GB -w "$1" "$2"
Remove the # at the start of the above pico2wave line that has the language you want to use (different voice).
Copy and paste commands one after the other into Terminal (at your own risk if something goes wrong).
git clone -b upstream+patches git://git.debian.org/collab-maint/svox.git svox-pico
apt-get install automake libtool libpopt-dev
cd svox-pico/pico
automake
./autogen.sh
./configure
make all
make install
Add this text into (pico2wave.conf) IN THE NEXT COMMAND: /usr/local/lib
nano /etc/ld.so.conf.d/pico2wave.conf
ldconfig
————————————
Now CD into your Linux HomeSeer directory open:
nano speak_to_file.sh
Make the contents of the file look like this (make a backup of that file first, in case you want to restore it later).
#!/bin/sh
#pico2wave -l en-US -w "$1" "$2"
#pico2wave -l en-GB -w "$1" "$2"
Remove the # at the start of the above pico2wave line that has the language you want to use (different voice).
Comment