Sakshi Student's Community Forum! Click here to Register free


Sunday, February 7, 2010

How to turn Text to Speech

How to turn Text to Speech

METHOD -1:-

1. Go to:

Quote:
Code:
http://text-to-speech.imtranslator.net/
2. Type in the desired text in the box provided. To get a permanent link of your text to send to friends, click the "Yes!" button next to the text that reads, "Do you want to embed this spoken text into E-mail or Web page?".


METHOD -2:-

1. Open a text editor.
2. Type in this text:

Quote:
Dim userInput
userInput = InputBox("Type the desired text in the box below and click OK to hear the text spoken aloud.")
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Sapi.speak userInput

3. Save it as:
HELLO.vbs
NOTE: You can replace "HELLO" with anything, just make sure the filename ends with ".vbs" (without quotes)


4. When you open it, type what you want to be heard in the box and click "OK". Your computer will tell you what you typed using your computer's default voice (Microsoft Anna, Sam, Mike, ect.)

No comments:

Post a Comment