Web Analytics


XP, Vista, 7, and Windows 8 come with a built in voice database, which you can access via the Microsoft SAPI (Speech Application Programming Interface); in this guide, you’ll learn how to get your computer to say what you type using one of three methods.

Speak to Me!

(Method 1) The easiest way to access this feature is through the Windows speech settings. If you’d like quick access, there’s also a script you can use to access the SAPI via Visual Basic (see below)

  1. Press Start, type speech and click change text to speech settings
  2. Type what you want said in the preview pane and click Preview Voice
  3. Optional: Change the voice (options vary by operating system)

Method 2: Use a Quick Access Visual Basic Script

  1. Copy the following text and paste it into Notepad (Windows Key, type notepad, press Enter)

CreateObject("sapi.spvoice").Speak(InputBox("Speak:"))

Thanks to Jon Davis for the condensed script.

  1. Save the file as speak.vbs
  2. Double-click on speak.vbs, type in your message, and press Enter

Have fun and be creative; you can have your computer greet you at login, for example. Having trouble with the script? See below for help.

Method 3: Use a Tool

If you’d rather skip the script, you can download the Windows Guides text to speech tool for quick access.

Help!

If the script didn’t work:

  1. Your browser may display quotation marks in a different character set. Go back to the Notepad file and replace all the quotes [ ” ] using your keyboard. Save the file and try again.

  1. If the script is error free but it’s still not working, you do not have the SAPI installed on your computer. Download download the SDK and SAPI here

About Rich

Rich is the owner and creator of Windows Guides; he spends his time breaking things on his PC so he can write how-to guides to fix them.

Free PC tips by email

Search Windows Guides




Comments

158 thoughts on “Get Your Computer to Say What You Type [How To] [Updated]”

  1. Sasi Prabath says:

    this is female sound , i want to male sound, how do it

  2. 4tyrtyhrt_ex says:

    this works! i do it in class to get the teacher mad. haha so funny

  3. Deependra says:

    it is working but how you written this program????

  4. Ghana Kumaran says:

    Awrsome….

  5. darkangelights says:

    It works but why does it keep leaving? how to make it stay without needing to keep clicking on it?

Comments are closed.


Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Subscribe now
Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Windows Guides on Facebook