Monday, 22 October 2012

Create Text Message to Voice Message Converter

To convert a text message to voice message follow the following steps:

Step 1: Open the Notepad from Start>All Programs> Accessories.
Step 2: Then copy-paste the following code in the text area.

Dim msg, sapi
msg=InputBox("Enter your text for conversion: For Ex. suku","sukanta: Text2Speech converter")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg


Step 3: Open File>Save as
Step 4: Then in the Save As dialog box enter any name for the file with the extension .vbs and click on Save.
Step 5: Then open the file that you had saved.
Step 6: Enter the text which you want to convert to speech.
Step 7: Click on OK button.

Now you will see the pure magical codes action of Windows. After the Dialog box closes you will here what you had actually typed in the dialog box to  Convert Text Into Speech In Windows  by using notepad.Your text is converted to SPEECH.

No comments:

Post a Comment

Tech N Science 2012