Page 1 of 1

(SOLVED) help getting Cepstral voices working with Festival.

PostPosted: Mon May 07, 2007 11:40 am
by RCC2k7
Hi,

I downloaded Cepstral Swift David and Miguel voices for Linux. I installed them successfully both in Ubuntu 7.04 and PCLinuxOS 2007 TR4. I know the voices are working, because I can use the swift program from the command line and get them to speak.

However, I want to use Cepstral voices to speak with Orca (Gnome's screen reader). I tried some documentation from the Orca page, without any success.

This page from Cepstral suggest a different approach. However, I downloaded and tried the script but it has syntax errors. Here's the output I get:

Code: Select all
roberto@rcc-desktop:~$ sudo sh festivalify-cepstral-voice
Password:
festivalify-cepstral-voice: 27: use: not found
festivalify-cepstral-voice: 28: my: not found
eval: 1: use: not found
festivalify-cepstral-voice: 30: Syntax error: "{" unexpected (expecting "then")
roberto@rcc-desktop:~$


I'll appreciate any ideas on how I can get Cepstral swift voices working with Orca.

PostPosted: Tue May 15, 2007 10:57 am
by Alex
Hi,

festivalify-cepstral-voice is a perl script. You should have more luck running it directly, without the 'sh.'

Code: Select all
sudo festivalify-cepstral-voice


... should do the trick.

Thanks for using Cepstral voices!

-Alex

PostPosted: Wed May 16, 2007 8:00 am
by RCC2k7
That's what I thought, but it doesn't work.
Code: Select all
roberto@rcc-desktop:~$ sudo festivalify-cepstral-voice
Password:
sudo: festivalify-cepstral-voice: command not found
roberto@rcc-desktop:~$ ls
Descargas   festivalify-cepstral-voice  Music      REALbasic License
Desktop     Imágenes                    Música     Sonidos
Documentos  Intercambio                 Programas  Vídeos
Examples    Mis Programas               REALbasic
roberto@rcc-desktop:~$

As you can see, the file is there...

PostPosted: Wed May 16, 2007 11:15 am
by Alex
Ah, sorry, that should be:

Code: Select all
sudo ./festivalify-cepstral-voice


.. since ./ is probably not in your path.

This should provide usage information.

In the end, the command will be something like:

Code: Select all
sudo ./festivalify-cepstral-voice  /opt/swift/voices/*


.. and it will create festival voice directories in the current directory.

Hope this helps!

-Alex

PostPosted: Thu May 17, 2007 12:15 am
by RCC2k7
Still no luck.

Code: Select all
roberto@rcc-desktop:~$ sudo ./festivalify-cepstral-voice
Password:
sudo: ./festivalify-cepstral-voice: command not found
roberto@rcc-desktop:~$


I did verify that I have Perl installed. :?

PostPosted: Thu May 17, 2007 12:17 pm
by Alex
D'oh!

Strange.

Maybe try calling it through perl?

Code: Select all
sudo perl ./festivalify-cepstral-voice


-Alex

PostPosted: Thu May 17, 2007 10:40 pm
by RCC2k7
Alex wrote:D'oh!

Strange.

Maybe try calling it through perl?

Code: Select all
sudo perl ./festivalify-cepstral-voice


-Alex

YES!!! YES!!! YES!!!

That one did work! Thank you!

PostPosted: Fri May 18, 2007 8:28 am
by Alex
Great! :D

-Alex