Is the SVOX Pico TTS not working?

506 views
Skip to first unread message

Billy D

unread,
Oct 23, 2015, 4:15:23 AM10/23/15
to Jasper Support Forum
Hello, I tried using the SVOX Pico TTS as the voices are great, but when I run jasper I get this error


ERROR:root:Error occured!
Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 143, in <module>
    app = Jasper()
  File "/home/pi/jasper/jasper.py", line 102, in __init__
    tts_engine_class = tts.get_engine_by_slug(tts_engine_slug)
  File "/home/pi/jasper/client/tts.py", line 665, in get_engine_by_slug
    "missing dependencies, etc.)") % slug)
ValueError: TTS engine 'pico-tts' is not available (due to missing dependencies, etc.)


I install it by doing

sudo apt-get update
sudo apt-get install libttspico-utils



Does anyone know why?

Thanks

 

Billy D

unread,
Oct 23, 2015, 4:55:06 AM10/23/15
to Jasper Support Forum
Tried using ivona got this


ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave

ERROR:root:Error occured!
Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 143, in <module>
    app = Jasper()
  File "/home/pi/jasper/jasper.py", line 105, in __init__
    self.mic = Mic(tts_engine_class.get_instance(),
  File "/home/pi/jasper/client/tts.py", line 58, in get_instance
    instance = cls(**config)
  File "/home/pi/jasper/client/tts.py", line 583, in __init__
    self._pyvonavoice = pyvona.Voice(access_key, secret_key)
  File "/usr/local/lib/python2.7/dist-packages/pyvona.py", line 234, in __init__
    pygame.mixer.init()
error: No available audio device

It must be something im doing wrong then?? any ideas?

G10DRAS

unread,
Oct 23, 2015, 6:07:59 AM10/23/15
to Jasper Support Forum

Test the pico2wave from command line:


pico2wave -l en-GB -w test.wav "it works! "

aplay test.wav


If above will not work, which indicate below didn't work either...


sudo apt-get install libttspico-utils


You need to compile the code for libttspico-utils

G10DRAS

unread,
Oct 23, 2015, 6:34:59 AM10/23/15
to Jasper Support Forum

Here is the link........

Installing Pico TTS

Billy D

unread,
Oct 25, 2015, 6:49:00 AM10/25/15
to Jasper Support Forum
Going through the link you provided, I get up to


mkdir pico_build
cd pico_build
apt-get source libttspico-utils

now when i do


apt-get source libttspico-utils

I get the following errors


Reading package lists... Done
Building dependency tree      
Reading state information... Done
NOTICE: 'libttspico-utils' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/collab-maint/svox.git
Need to get 21.6 MB of source archives.
Err http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free svox 1.0+git20110131-2 (dsc)
  Could not open file svox_1.0+git20110131-2.dsc - open (13: Permission denied) [IP: 163.1.221.67 80]
Err http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free svox 1.0+git20110131-2 (tar)
  Could not open file svox_1.0+git20110131.orig.tar.gz - open (13: Permission denied) [IP: 163.1.160.163 80]
Err http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free svox 1.0+git20110131-2 (diff)
  Could not open file svox_1.0+git20110131-2.debian.tar.gz - open (13: Permission denied) [IP: 163.1.221.67 80]
Failed to fetch http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/pool/non-free/s/svox/svox_1.0+git20110131-2.dsc  Could not open file svox_1.0+git20110131-2.dsc - open (13: Permission denied) [IP: 163.1.221.67 80]
Failed to fetch http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/pool/non-free/s/svox/svox_1.0+git20110131.orig.tar.gz  Could not open file svox_1.0+git20110131.orig.tar.gz - open (13: Permission denied) [IP: 163.1.160.163 80]
Failed to fetch http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/pool/non-free/s/svox/svox_1.0+git20110131-2.debian.tar.gz  Could not open file svox_1.0+git20110131-2.debian.tar.gz - open (13: Permission denied) [IP: 163.1.221.67 80]
E: Failed to fetch some archives.


would you know why?

G10DRAS

unread,
Oct 25, 2015, 8:32:08 PM10/25/15
to Jasper Support Forum
Try

sudo apt-get source libttspico-utils

Billy D

unread,
Oct 27, 2015, 6:03:42 AM10/27/15
to Jasper Support Forum
Cool!! got it working thanks for your help. Once final question, there was no docs on how to select a voice. I want to use victoria voice on this page https://svoxmobilevoices.wordpress.com/demos/ how would i do that? Would it be like the others:


tts_engine: pico-tts
voice: 'Victoria'


thanks

G10DRAS

unread,
Oct 27, 2015, 8:49:07 AM10/27/15
to Jasper Support Forum
I Love Victoria and Misaki !!!
But there is no option to change voice. You can change Language though.

# Universal default is en_US
# Available are en-US, en-GB, fr-FR, de-DE, es-ES, it-IT
tts_engine: pico-tts
pico-tts:
  language: 'en-GB'


Billy D

unread,
Oct 27, 2015, 11:45:07 AM10/27/15
to Jasper Support Forum
Ah I see, thats a shame they are very good voices.

G10DRAS

unread,
Oct 27, 2015, 9:02:24 PM10/27/15
to Jasper Support Forum
Those voices are available for Android plateform, and not free.
On the other hand if you dig in to the picotts code you will see everything is just hardcoded,
and pico engine is marely a player of the voice database.
Hack the code and install new voices, I think you will be able to get them working.

Reply all
Reply to author
Forward
0 new messages