[Gambas-user] Festival Text to Speech

Stefano Palmeri rospolosco at ...152...
Tue Dec 5 08:51:26 CET 2006


Alle 22:57, lunedì 4 dicembre 2006, Tony Sales ha scritto:
> I apologise if I have posted this twice! I posted after subscribing but
> before confirming my subscription! Doh!
> 
> I am a frustrated Microsoft Windows lecturer/researcher wanting to move
> to Linux. The only thing holding me back is finding a suitable
> programming environment. I have looked at several and Gambas looks like
> the best place to start as it is similar to VB! My question is: Is it
> possible to call the festival speech engine from Gambas? As I want to
> write talking applications for blind and partially sighted learners.
> What I am really after is a piece of sample code calling Festival and
> getting it to say something etc. Any information gratefully received and
> might result in one more very small rusty nail in the coffin of Bill
> Gates!
> 
> Yours in anticipation,
> 
> Dr.Bongo

You have to use the SHELL command.
For example:

SHELL "speak hello" WAIT

"speak" is another text-to-speech tool. Change "speak"
with "festival". Look for SHELL in the Gambas help.

Saluti,

Stefano Palmeri

















More information about the User mailing list