How To Convert Text Into Audio Using Notepad
















Everyone loves to hear what is written in a paragraph or in a document. This is the reason why the audio books are getting popular nowadays. In this article, I will show how you can convert text into audio using the Notepad.
Why Use Notepad?
Because it is the most commonly used text editor everyone uses. That’s the reason.
Here we create application using notepad to make computer speak what you type.
STEP 1: Open Notepad Program in your Window PC.
STEP 2: Now, Copy the following program and paste it in Notepad
 Dim msg, sapi msg=InputBox("Enter your text for conversion–by TechDoge.Blogspot.Com","Text to Audio Converter") Set sapi=CreateObject("sapi.spvoice") sapi.Speak msg

*Note: Here you can change “Enter your text for conversion–by TechDoge.blogspot.Com” and "Text to Audio Converter" by your own text.

Paste Code in your Notepad

STEP 3: Now let’s save the code we entered above. The code has to be saved in .vbs format rather than standard .txt format.

Save Notepad File in .vbs format
STEP 4: Now navigate yourself to the location where the code is stored. in my case, it was stored on the Videos folder so I will just go to the Video Folder and check for it. You can see that the file we saved was in the .vbs format.
STEP 5: Now just double-click on the saved file and Enter the text you want to hear in the text box. The moment you click OK button , You can hear the text you entered as Audio.


Convert Text into Audio using Notepad

1 comment:

Powered by Blogger.