Thursday, 5 November 2015

Make a Text to speech converter

Today I am going to you to make a small program using notepad which will speak for you, whatever you type in it. In short, its a text to speech converter made by you through notepad and without knowing any programming skill.

Steps:
1. Open notepad.
2. Copy and paste following code and save it as "speaker.vbs":

Dim userinputuserinput
userinputuserinput = inputbox("Type below to hear your computer speak")
set sapi = wscript.createobject("SAPI.Spvoice")
Sapi.speak userinputuserinput

3. Double click on speaker.vbs. A dialog box will be opened like
4. Type anything in English. Your computer will speak for you.

DONE!

Below is the screenshort of the program

0 comments:

Post a Comment