ok just ran:
/sbin/ldconfig -v
now I'm getting:
pico2wave --wave sample.wav -l en-US "Here is a sample, using the PICO text to speech engine."
pico2wave: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by pico2wave)
mv /usr/lib/libttspico.so.0* /usr/lib64/
# first we need to remove the 64 bit binaries
rm /usr/bin/pico2wave
rm /usr/lib/libttspico.so.0*
# now modify the install script to force 32 bit and run it
# the original script is left untouched
cd /root
sed "s|amd64|i386|" picotts-install.sh | bash
# install the 32bit version of the popt package dependency
yum -y install popt.i686
# clean up the download folders
rm -rf /usr/src/libttspico
# test it
pico2wave --wave=sample32.wav -l en-US "This is a test of the 32 bit pico engine." && echo SUCCESS
trying to install using the NV article on Ubuntu 14,04
Get:
apt-get install libttspico-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libttspico-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libttspico-utils' has no installation candidate
Hi Dave, I used this script but not working......Hi all. I installed PicoTTS and works fine even in Italian. I noticed a couple of things:
1) picotts.agi at speed 1 is as fast as googletss.agi at speed 1,5
2) picospeaker utility outputs a file that doesn't need normalization; googletts-cli used to output a file at a very lower volume.
On an old distro (CentOS 5.8 - Asterisk 1.6) I had to modify install script because tar utility was unable to manage xz.
Here's the modified picotts-install.sh script, if someone faced the same problem:
Code:#!/bin/bash # Installer for SVOX Pico TTS on non-Debian platforms # Author: Steven Mirabito <[email protected]> # Check architechure if [ $(uname -m) == 'x86_64' ]; then pkgarch="amd64" else pkgarch="i386" fi # Get work directories set up cd /usr/src mkdir libttspico # Download and extract Pico TTS libraries wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/svox/libttspico0_1.0%2bgit20130326-3_${pkgarch}.deb ar x libttspico0_1.0+git20130326-3_${pkgarch}.deb data.tar.xz unxz data.tar.xz tar -xf data.tar -C "libttspico" rm -f data.tar # Dowload and extract Pico TTS voice data wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/svox/libttspico-data_1.0%2bgit20130326-3_all.deb ar x libttspico-data_1.0+git20130326-3_all.deb data.tar.xz unxz data.tar.xz tar -xf data.tar -C "libttspico" rm -f data.tar # Download and extract Pico TTS utilities (pico2wave) wget http://mirrors.kernel.org/ubuntu/pool/multiverse/s/svox/libttspico-utils_1.0%2bgit20130326-3_${pkgarch}.deb ar x libttspico-utils_1.0+git20130326-3_${pkgarch}.deb data.tar.xz unxz data.tar.xz tar -xf data.tar -C "libttspico" rm -f data.tar # Delete packages rm -f libttspico*.deb # Move files into place mv "libttspico/usr/lib/"*-linux-gnu/* "libttspico/usr/lib" rmdir "libttspico/usr/lib/"*-linux-gnu mv libttspico/usr/bin/* /usr/bin/ mv libttspico/usr/lib/* /usr/lib/ mv libttspico/usr/share/pico /usr/share/ mv libttspico/usr/share/doc/* /usr/share/doc/ mv libttspico/usr/share/man/man1/* /usr/share/man/man1/ # Install picospeaker cd /usr/src git clone git://github.com/the-kyle/picospeaker.git picospeaker install -D -m755 picospeaker/picospeaker /usr/bin/picospeaker rm -rf picospeaker
Dave
For Raspberry Pi Raspbian, here's the modified Incredible PBX installer:
Code:cd / wget http://incrediblepbx.com/picotts-raspi.tar.gz tar zxvf picotts-raspi.tar.gz rm -f picotts-raspi.tar.gz cd /root echo "Installing Pico TTS..." ./picotts-install.sh
#!/bin/bash
cd /
wget http://incrediblepbx.com/picotts-raspi.tar.gz
tar zxvf picotts-raspi.tar.gz
rm -f picotts-raspi.tar.gz
cd /root
echo "Installing Pico TTS..."
./picotts-install.sh
echo " "
echo "To change TTS language post-install to en-GB
read -p "Press Enter to proceed with en-GB. Otherwise, Ctrl-C to use en-US (default)."
echo " "
sed -i 's|en-US)|en-GB)|' /etc/asterisk/extensions_custom.conf
sed -i 's|pound key|hash key|' /etc/asterisk/extensions_custom.conf
## observation only:
dpkg: warning: downgrading libttspico-data from 1.0+git20130326-9 to 1.0+git20110131-2
dpkg: warning: downgrading libttspico0:armhf from 1.0+git20130326-9 to 1.0+git20110131-2
dpkg: warning: downgrading libttspico-utils from 1.0+git20130326-9 to 1.0+git20110131-2
en-GB test used your code but then converted to mp3 to keep "Attach Files" happy. added 0.7 seconds of silence at start of the 8k.wavsox test16000.wav -r 8000 test8000.wav
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.