How to convert text into voice

How To Do It ?

Open Notepad file on your Windows PC.
Copy and paste the below mentioned code :

Dim msg, sapi
msg=InputBox(“Enter your text for conversion–www.techvorm.com”,”TechVorm Text-To-Audio Converter”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak msg
Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs

Thats it ! Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK. If you find any difficulties in using this code, let me know via comments section.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s