How to Make a Text to Speech System

this is a very simple project it is also short

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

Be the First to Share

    Recommendations

    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    2 Discussions

    0
    None
    seamster

    3 years ago

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

    1 reply