Home Other How To: Make Your Own Text To Speech Converter

How To: Make Your Own Text To Speech Converter

1
How To: Make Your Own Text To Speech Converter

SpeechMany of us has seen various types of Text To Speech converter. Those are really fun to use is not it so. It would have been more great if you could have made your own script to do so isn’t it? I will help to to make a simple .VBS script which will do the job for you.

How Do I Make It Work?

First you need to open a notepad file or just any other text editor file. Now after doing this you need to paste the following below code in the opened notepad file.

The Code:

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

Now, what you need to do is just save the file with .vbs extension Example: TechGyo.vbs

After that your Script is ready. Type anything in it and press enter, it will speak up for you. So you have made your own Text To Speech converter, show it to your friends and have fun.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.