How to Make a Text to Speech System

46132

Intro: How to Make a Text to Speech System

this is a very simple project it is also short

STEP 1: What You Need

you will need a decent code editing program

for this i am using notepad++

STEP 2: The Code

this is all the code you need its very short

Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me") Set sapi=CreateObject("sapi.spvoice") sapi.Speak message

note that it is quiet and closes after each use

STEP 3: How to Save

you can name it what ever you want

as long as you add the extension .vbs

2 Comments

Is it really this simple? If so, very nice! :)

thanks this is really all you need for it