Speech

Blitz3D Forums/Blitz3D Programming/Speech

mhorvatic(Posted 2005) [#1]
Could someone post an example of a code such as:

speak(male, "Testing one two three")

that uses windows api to read the text out loud?

Marko


Damien Sturdy(Posted 2005) [#2]
I do it via MsAgent. I write the main engine in VB and then interface (very kludgy like) using a text file.

all you need to do in the vb app is make the program read the text file and check if the text has been updated. if it has, read it out.

Run the VB app from the start of your BB program and set a flag in the same file that means "close" so that the VB app closes itself.

There are plenty of better ways to do it but i just dont have the knowhow i'm afraid.


mhorvatic(Posted 2005) [#3]
could you send me an example via email?


jfk EO-11110(Posted 2005) [#4]
There is also an example in the code archives, I think.


mhorvatic(Posted 2005) [#5]
there is an example in the archives that points to a web site that doesn't work any more


semar(Posted 2005) [#6]
@mhovartic,
have a look at my website (link in signature), in particular the project named 'So To Speak'.

It is written in BlitzPlus, and the source code is included.

Hope it helps,
Sergio.


Damien Sturdy(Posted 2005) [#7]
Sorry i can't send you an example as i havent touched it for a while and the project and its source code is on an older machine that i dont get to use anymore.....


mhorvatic(Posted 2005) [#8]
Sergio,

thank you this is great, and that is just what I was looking for. it is simple, yet very understanding and nice to test.

best regards
marko