February 9, 2012

Convert Text Into Audio Using Notepad

Last time i shared a notepad trick using which you can format your hard disk. If you haven’t tried that do it now, here is the link :

Format Your Hard Disk Using Just Notepad !!

In this post i am going to share a similar notepad trick using which you can convert any text to audio with just a click. And it doesn’t even require you to pay for software or install any 3rd party software on your PC.

How To Do It ?

  1. Open Notepad file on your Windows PC.
  2. Copy and paste the below mentioned code :

      Dim msg, sapi
      msg=InputBox("Enter your text for conversion–www.techvorm.com","TechVorm Text-To-Audio Converter")
      Set sapi=CreateObject("sapi.spvoice")
      sapi.Speak msg
  3. Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs

Thats it ! Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK. If you find any difficulties in using this code, let me know via comments section.

Share This Article With Your Friends!
 

Suggested Articles For You:

 

Sign Up To Get Latest News On Mobile Phones, Apps, Tips & More!

Free newsletters delivered to your Inbox!
You must click confirmation link sent in email. If you don't see the email, check spam folder.

Speak Your Mind

*

Comments

  1. Nightstacka says:

    Is there any other voices we can choose from? or a way to make it speak more slowly? :)

  2. sumit says:

    its not working….
    activex component cant create object is showing….
    and also microsoft vbscript runtime error…
    i m working on w7 premium….

  3. morgan says:

    how can i change this so it doesn’t speak out loud what the person has typed but instead a pre-chosen message?

  4. varma says:

    how to save that audio

  5. suweb utto says:

    what is the maximum letters that can we enter to the converter?

  6. Deva says:

    KOOL!!!!!!!!!……….

  7. bhu1000 says:

    dont make fool of odrs by writing visual basics programs here

  8. Indu says:

    I tried this..but nothinh is happening,,its simply opening the same code…..:-(

  9. srkshaju says:

    It is outstanding,i tried and it is extremely supperb…

  10. :( says:

    Dosn’t work: line 3 char 1= (can’t create object)

  11. harish says:

    this is just a simple vb code…..:)
    if you all know you can do same thing from
    control pannel > sounds, speech and Audio Devices > Speech

    Just type the text their and click on Preview Voice button
    you can also control speed of the voice from that window.

  12. RIZWAN AHMAD says:

    How can i decrease the the speed so i can listen properly. Its is working very fast.

  13. notepad freak says:

    i typed in something and nothing happened!what exactly shud happen?

  14. at skool says:

    how do u extend the word limit ????? HELP
    POST ON THIS SITE

  15. at skool says:

    retype all Quotes (“”) then it WIll work

  16. yo says:

    how do you change the voive

  17. Splinter Alvee says:

    Very cool and thanks, especially for the Text to audio converter. That thing is just amazing.

  18. manish says:

    where does the output file gets saved??

  19. Benji says:

    Hey!
    Look like a cool trick!
    I just tried it but it didn’t work.
    Instead, a pop up appeared and said this:

    Script: (drives and the file)
    Line: 2
    Char: 14
    Error: Invalid character
    Code: 800A0408
    Source: Microsoft VBSScript compilation error

    I just copied and pasted…and did nothing. So I don’t think it was me….was it?
    (My Email if you need it…I’m new to this site lol: Nintendo_Master_Returns@live.com)

  20. Rohit Sane says:

    Cool one! Just defining the source to an already present file.

    I like it. I never knew that such a file existed.
    .-= Rohit Sane´s last blog ..Cool and Funky T-Shirts with Quotes for Girls and Boys =-.

  21. Navin Israni says:

    This one is good..waise what language u have used..and hwta type of file extension is .vbs..i have heard it before some times..mostly in viruses kind of..i know this is not virus..just mentioning the mention of .vbs..:D