[Gambas-user] Festival Text to Speech
timothy
timothy.marshal-nichols at ...247...
Tue Dec 5 10:31:21 CET 2006
> -----Original Message-----
> From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-
> bounces at lists.sourceforge.net] On Behalf Of Tony Sales
> Sent: 04 December 2006 21:57
> To: gambas-user at lists.sourceforge.net
> Subject: [Gambas-user] Festival Text to Speech
>
> 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
>
I have attached an example of using the KDE Text-to-Speech system from
Gambas.
It uses DCOP to communicate with the Text-to-Speech system. If you have
the KDE desktop installed then it should work. (Evan if you are using
Gnome)
You need to setup Text-to-Speech system by adding a talker and enabling
it. See the note in the apps help.
The Speech and Talker classes are designed to be easy to copy to another
Gambas application. You just need to make sure you add the gb.qt.kde
component to your application.
This application is written in Gambas 1.9.46. I also have a version
written in Gambas 1.0.16 if you need it.
Thanks
8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KDESpeech-0.0.1.tar.gz
Type: application/x-gzip
Size: 46944 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20061205/e3cbe961/attachment.bin>
More information about the User
mailing list