Introduction: How to Convert Text to Audio Using Notepad

Picture of How to Convert Text to Audio Using Notepad

this instuctable will show you how to convert text to audio using notepad

Step 1: Step 1: Open Notepad

Picture of Step 1: Open Notepad

go to your start menu and open notepad

Step 2: Step 2: Copy and Paste the Code Below

Picture of Step 2: Copy and Paste the Code Below

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

Step 3: Step 3: Save the File

Picture of Step 3: Save the File

save the file as audio.vsb

or any other extention with .vsb

Comments

SebastianL85 (author)2017-01-09

When trying to use it i get "Script: C:/Users/Sebastian/Documents/audio.vbs

Line:3

Char:159

Error:Unterminated string constant

Code:800A0409

Source:Microsoft VBScript compilation error

Any way to fix it?

PrajwalB (author)2015-02-24

cchaos (author)2012-01-17

Nice tutorial.
I think the extension should be .vbs (visual basic script) not vsb.
then you can run the file by double clicking it

Truehart (author)2012-01-03

So...how do you use it?

chr15sc (author)Truehart2012-01-09

Make sure that the line msg=InputBox("Enter your text for conversion–www.techvorm.com","TechVorm Text-To-Audio Converter") is all on one line.
You can also change this to: msg="your message"

jmitch77 (author)2012-01-05

I think you meant .vbs as your file extension?

skeetshooter11 (author)jmitch772012-01-05

yes
use .vsb

About This Instructable

34,730views

15favorites

License:

More by skeetshooter11:How To Build A Fully Automated Hydroponic Toilet GardenHow To Make A Recycled Soda Can LanternHow to convert text to audio using notepad
Add instructable to: