(SOLVED) help getting Cepstral voices working with Festival.

Voices aren't working properly?

(SOLVED) help getting Cepstral voices working with Festival.

Postby RCC2k7 » Mon May 07, 2007 11:40 am

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.
Last edited by RCC2k7 on Thu May 17, 2007 11:12 pm, edited 1 time in total.
I use Windows on my phones but Linux on my PC's,
RCC2k7
 
Posts: 4
Joined: Mon May 07, 2007 11:27 am

Postby Alex » Tue May 15, 2007 10:57 am

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
Alex
 
Posts: 26
Joined: Mon Dec 04, 2006 11:19 am

Postby RCC2k7 » Wed May 16, 2007 8:00 am

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...
I use Windows on my phones but Linux on my PC's,
RCC2k7
 
Posts: 4
Joined: Mon May 07, 2007 11:27 am

Postby Alex » Wed May 16, 2007 11:15 am

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
Alex
 
Posts: 26
Joined: Mon Dec 04, 2006 11:19 am

Postby RCC2k7 » Thu May 17, 2007 12:15 am

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. :?
I use Windows on my phones but Linux on my PC's,
RCC2k7
 
Posts: 4
Joined: Mon May 07, 2007 11:27 am

Postby Alex » Thu May 17, 2007 12:17 pm

D'oh!

Strange.

Maybe try calling it through perl?

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


-Alex
Alex
 
Posts: 26
Joined: Mon Dec 04, 2006 11:19 am

Postby RCC2k7 » Thu May 17, 2007 10:40 pm

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!
I use Windows on my phones but Linux on my PC's,
RCC2k7
 
Posts: 4
Joined: Mon May 07, 2007 11:27 am

Postby Alex » Fri May 18, 2007 8:28 am

Great! :D

-Alex
Alex
 
Posts: 26
Joined: Mon Dec 04, 2006 11:19 am


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 11 guests