954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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.

robertlees
Newbie Poster
20 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 
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.

agrothe
Junior Poster
153 posts since Jun 2006
Reputation Points: 37
Solved Threads: 18
 

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.

robertlees
Newbie Poster
20 posts since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

you can find a full tutorial and code samples at

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

agrothe
Junior Poster
153 posts since Jun 2006
Reputation Points: 37
Solved Threads: 18
 

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

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

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 ;)

agrothe
Junior Poster
153 posts since Jun 2006
Reputation Points: 37
Solved Threads: 18
 

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.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 
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

billzilla
Newbie Poster
20 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 
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.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

That's freaking awesome.... not that you need them, I'm still giving rep points for that one Alex

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

20 years ago thats all we had

billzilla
Newbie Poster
20 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

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.


you use a double edge...i.e. no offense...but..ect.... and a bully like threat of banning someone.....are you sure you are an intellectual?

billzilla
Newbie Poster
20 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

Batch files had no means of playing sound through the speaker.... QBasic, debug, or some other file could have been called by the batch file to spawn the app that plays a text to speech, but batch files themselves are not a language, and lack the kind of power required to perform text to speech.

Beyond that, this is a Visual Basic Forum, and if there was/is an external app that needed to be spawned, VB could do it all by itself. Now, if you could somehow show the VB code to create your super-batch file, by all means, I'd love to see it, and so would many others... but just do me a big favor, and try to keep the post relevant and helpful to the forum/thread. Thanks Bud.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You