How to convert text into speech using Notepad

This post will teach you how convert the input text to speech using Microsoft’s inbuilt speech software by importing it using notepad.T his is a really simple notepad tweak. Its pretty fun. Just follow the given instructions and you will be able to do what the title mentions.

Step 1 : Copy the following code and paste it into a notepad.

Dim msg, sapi
msg=InputBox(“Enter your text for audio conversion– from Pranay Kotapi”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak msg

Step 2: Next save it as “audio.vbs”. (Make sure it ends with a .vbs extension)

Step 3: Run it and enter the text and listen to the converted speech.

That’s it as simple as that. Hope you guys enjoyed this post. Stay subscribed to catch up with more of our updates. Thanks for reading.

  1. Uzaima July 11, 2011
    • Pranay Kotapi July 11, 2011
  2. kishore July 11, 2011
    • Pranay Kotapi July 11, 2011
  3. Vital December 9, 2011

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!