How to Convert Text to Audio Using Notepad

42,685

17

7

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

    • Arduino Contest 2019

      Arduino Contest 2019
    • Tape Contest

      Tape Contest
    • Trash to Treasure

      Trash to Treasure

    7 Discussions

    0
    None
    SebastianL85

    2 years ago

    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?

    0
    None
    cchaos

    7 years ago on Introduction

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

    0
    None
    chr15scTruehart

    Reply 7 years ago on Introduction

    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"