Windows Text to Speech Convertor: Try at Home

Ever wondered about one great thing in windows which can amaze you? Well here is one for you 🙂

Try to do the following steps, and you will see a perfect example of text to speech convertor:

  1. Open notepad and put the following code into it:
    Dim msg, sapi
    msg=InputBox("Enter your text","Talk it")
    Set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg
  2. Save the file as “text2speech.vbs” , remember its not .txt but .vbs. Make sure you do not save it as text2speech.vbs.txt
  3. Double click the file and a box will appear. It will ask you for some text.
  4. Enter any text you want to test. For instance enter your name.
  5. Hit enter and thats it. You just saw a perfect example of text to speech convertor.

Enjoy.

3 Cheers for Bill Gates
Note: Tested only on Win XP, I haven’t tested this on Vista yet.

Digg it and share with friends if you liked this post.
Thanks

38 Comments

  1. Hehe, yaa would have made BTP’s of many so easy. Our professors wouldn’t have come across this ever and they would have always thought that , we have just made an absolute text to speech convertor 😛

  2. Hehe, yaa would have made BTP’s of many so easy. Our professors wouldn’t have come across this ever and they would have always thought that , we have just made an absolute text to speech convertor 😛

  3. jd

    I’d love to put it up with my website (still under construction).

    Is there an asian language version of this? it would really be helpful for studying other languages having this as a tool, right?

  4. Hi,

    Yeah surely this is a very useful tool, but unfortunately all depends upon the version of Windows XP which you have.

    I am not sure about this, but I guess it depends on language pack which you choose while installing your windows. If you choose a language other than english while installing windows, i guess you will have the conversion in that language.

    Not sure though, just a guess.

  5. jd

    I’d love to put it up with my website (still under construction).

    Is there an asian language version of this? it would really be helpful for studying other languages having this as a tool, right?

  6. Hi,

    Yeah surely this is a very useful tool, but unfortunately all depends upon the version of Windows XP which you have.

    I am not sure about this, but I guess it depends on language pack which you choose while installing your windows. If you choose a language other than english while installing windows, i guess you will have the conversion in that language.

    Not sure though, just a guess.

Leave a Reply