Saturday, November 19, 2011

Text to Speech using a simple command in Windows
Posted on
  • Saturday, November 19, 2011
  • by
  • Unknown
  • , in
  • .
  • You can make windows read out text with a simple one-line one-line-speech-to-textcommand.

    If you are using a Windows Machine (Windows XP or above), then you will be glad to hear that a simple one line command can easily convert your text to speech for you, which you can use to read out your lengthy emails, etc, without even the need of download or installing any software!


    To get started, all you have to do is type the following command and paste it into a notepad file.

    CreateObject("SAPI.SpVoice").Speak“Your Text here

    You have to replace the “Your Text Here” with your own text. You can even paste a page within the inverted quotes, and all this command does is read it out to you.


    Next, you need to save the file as “anything.vbs” (where anything=any thing of your choice).

    In case you are not able to do that, here are the screenshots [Click to enlarge]:

     file-saveas-notepad saving-notepad-file anything.vbs-filename

    Many articles on the internet point out to this method and ask you to type this and run it, to check whether your computer is a male or female. Actually, all Windows XP computers get a male voice, whereas Windows Vista and Windows 7 users get a female voice. This is due to Microsoft’s speech-to-text engine, which was Sam in XP and Anna in Vista and 7.


    Hope this helped you!

    Subscribe to more tutorials

    Your privacy is taken very seriously.
    Share article: | Subscribe to RSS:

    0 Responses to “Text to Speech using a simple command in Windows”

    Post a Comment

    Modified Mash2 theme being used