How to Convert Text to Audio Using Notepad

Published

Introduction: 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

go to your start menu and open notepad

Step 2: 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

save the file as audio.vsb

or any other extention with .vsb

Share

    Recommendations

    • Casting Contest

      Casting Contest
    • Oil Contest

      Oil Contest
    • Make it Move Contest

      Make it Move Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    7 Comments

    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?

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

    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"