Convert Text Into Audio Using Notepad

January 15th, 2010 @ Paritosh (173)

4


Last time i shared a notepad trick using which you can format your hard disk. If you haven’t tried that do it now, here is the link :

Format Your Hard Disk Using Just Notepad !!

In this post i am going to share a similar notepad trick using which you can convert any text to audio with just a click. And it doesn’t even require you to pay for software or install any 3rd party software on your PC.

How To Do It ?

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

    Dim msg, sapi
    msg=InputBox(“Enter your text for conversion – www.techvorm.com”,”TechVorm’s Text-To-Audio Converter”)
    Set sapi=CreateObject(“sapi.spvoice”)
    sapi.Speak msg

  3. 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.

Enter Your Email Address For Free Updates:

I, Paritosh, am the Co-Owner and author at TechVorm. Fairly new to the blogging world, i came to know about the concept of blogging during a casual google search and from there on my urge to know things caused me to start blogging. I, then planned to start part time blogging. This little journey, of over 6 months has been a good experience and i hope that it continues to be the same. You Can Follow me on Twitter @ParitoshBh