How to Make a Text to Speech System

by DEVO PRJ 33 in Circuits > Computers

492 Views, 3 Favorites, 0 Comments

How to Make a Text to Speech System

index.png

this is a very simple project it is also short

What You Need

you will need a decent code editing program

for this i am using notepad++

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

How to Save

you can name it what ever you want

as long as you add the extension .vbs