DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   Text to Speech (http://www.daniweb.com/forums/thread47415.html)

robertlees Jun 9th, 2006 8:20 am
Text to Speech
 
I just want a simple text-to-speech facility. I just want a digit to be spoken. I'm sure it can be done with an OCX. Could play a wav file, but want this ability within an exe.

agrothe Jun 9th, 2006 8:35 am
Re: Text to Speech
 
Quote:

Originally Posted by robertlees
I just want a simple text-to-speech facility. I just want a digit to be spoken. I'm sure it can be done with an OCX. Could play a wav file, but want this ability within an exe.

Look up the Microsoft Agent API. It's a fast and easy way to get text to speech, as long as you don't mind the crazy little characters they use.

robertlees Jun 9th, 2006 8:42 am
Re: Text to Speech
 
Microsoft Agent API ? Where can I find it ? And how do I use it ? Just want to pass, say, 6 to a control, and hear it say six.

agrothe Jun 9th, 2006 6:13 pm
Re: Text to Speech
 
you can find a full tutorial and code samples at

http://www.microsoft.com/msagent/dev/default.asp

Comatose Jun 9th, 2006 6:18 pm
Re: Text to Speech
 
I've done this..... it requires the microsoft text-to-speech control. The package (if you google, you should be able to find it) has controls to go in both directions (text to speech, so the computer can talk to you, and voice recognition, so you can talk to it, and it can respond).

http://www.microsoft.com/MSAGENT/downloads/user.asp#tts

agrothe Jun 9th, 2006 6:25 pm
Re: Text to Speech
 
This may be a little off topic, but a cool project would be to take one of those chatterbots and modify it to take speech and speak in return ;)

Comatose Jun 9th, 2006 6:39 pm
Re: Text to Speech
 
I've done that..... it didn't uh, work as well as one would hope. I always thought a slick thing to do would be to build an IRC client where you can tag a user.... and then when they are tagged, whatever they type will spoken (text2speech) through the speakers..... This way you don't have to flip back and forth all the time.

billzilla Jun 22nd, 2006 1:27 am
Re: Text to Speech
 
Quote:

Originally Posted by robertlees
I just want a simple text-to-speech facility. I just want a digit to be spoken. I'm sure it can be done with an OCX. Could play a wav file, but want this ability within an exe.

i seem to remember i did that with a batch file in dos

alc6379 Jun 24th, 2006 3:59 pm
Re: Text to Speech
 
Quote:

Originally Posted by billzilla
i seem to remember i did that with a batch file in dos

What?

No offense, but that's one of the most useless suggestions I've ever heard.

If you keep this up, I'm going to deem you a troll, and ban you.

Comatose Jun 24th, 2006 7:22 pm
Re: Text to Speech
 
That's freaking awesome.... not that you need them, I'm still giving rep points for that one Alex


All times are GMT -4. The time now is 7:56 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC