How To Convert Text Into Audio Using Notepad




Hey Guys, Today i'm gone tell you how to convert TEXT int AUDIO without using 3rd party software. This can be done by using microsoft inbuild feature.


Here how to do this:-

STEP 1: Open Notepad. You can do this by searching for Notepad in the windows search Or Press Win+R and type Notepad and Press Enter.




STEP 2: Now, Copy following program and paste it in Notepad–

Dim message, sapi
 message = InputBox("Text to Audio"+vbcrlf+"From - www.avnishyadav25.blogspot.com","Text to Audio converter")
 Set sapi = CreateObject("sapi.spvoice")
 sapi.Speak message





STEP 3: Now lets save the code we entered above. The code has to be saved in .vbs format(say "voice.vbs") rather than standard .txt format.



STEP 4: Now navigate yourself to the location where the code is stored. in my case it was stored on the desktop so i will just go to the desktop and check for it. You can see that the file we saved was in the Visual Studio Script ( 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 , You can hear the text you entered as Audio.

Like this :-




Thanks for reading.
Next Post Previous Post
No Comment
Add Comment
comment url