July 7, 2008 -
Web Development -
19 comments
Translate:
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:
- 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 - Save the file as “text2speech.vbs” , remember its not .txt but .vbs. Make sure you do not save it as text2speech.vbs.txt
- Double click the file and a box will appear. It will ask you for some text.
- Enter any text you want to test. For instance enter your name.
- 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
Abhi's Weblog is a collection of blog articles written by
Great Stuff Man!
Keep these things coming!
Thanks Yasser Miyan
I don’t have a Windows PC..but will sure try it out sometime
Nice..I never knew this thing existed! Would have made my internship work so much easier, if I had known..
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
It works on a Vista as well. Thanks bhaiya. The fifth word I tried was your nick back at IITG, lol!
hehe…cool man
Nice one man
Hi Somu,
Well you can try next time you visit my place, or back home
Try inputting lyrics to a song and see what happens
Yeah…nothing more exciting than trying it out with the master himself
hehe koi master nahi hai be, I see it somewhere else, find it worth sharing so blog it. College se aabhi tak poori life copy paste hai
What about..
Windows > Control panel > Speech
Yes basically it uses the same thing but through a script. I guess windows > control panel > speech and this script are one and the same thing.
sahi mein cool funda hai
its not the text to speech thats new, its the way its being done . keep it up man.
Windows > Control panel > Speech
and the script is the same one. only speech of xp is using other parameters like pitch etc.
Happy Blogging.
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?
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.
Awesome stuff Man…. Nice and too techie weblog…
… Yo man . it too work with Win-7