Google+

Saturday, June 8, 2013

Make your computer speak without any software

Here’s a cool little feature of Windows that can be used so that you can make your computer talk or speak whatever you tell it ! This method takes advantage of a built-in API installed on most windows machines called SAPI (Speech Application Programming Interface).
The Microsoft Speech API is what is used for the Narrative accessibility feature built into Windows. You can also write programs that call the API, which would allow you to let your applications speak.
OK,the trick is fairly simple and requires only 3 simple steps from your side.Let’s Begin :
1.Open Notepad and copy and paste the following code into it

Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

2.Now save the notepad file with the name speak.vbs at your desktop.

3.Now double click on speak.vbs type in the box whatever you want your computer to speak for you.
Its a really funny trick to impress everybody with your computer skills ..

No comments:

Post a Comment