Hi guys today i’m Going to show You how to make a Text to speech program without Knowing Programming . Making TTS programme is too simple and interesting too . For this purpose i’m Going to use Vbscript . Its the scripting language developed by microsoft . With vbscript You can make full working text to speech script easily.
lets start :
1) Open Your Notepad
2)Copy and paste these code .
b=inputbox(“Write text “)
set a= createobject(“SAPI.spvoice”)
a.speak(b)
3)Now Go to file menu and click on Save As .
4)Select saving location as desktop , Name the file as tts.vbs , and select “All Files” in “save as type ” option .
Now click save button .
5) Go to desktop and find out file named tts.vbs .
6) Double click in it . A form with inputbox will pop out . Write Anything You want . Hit ok .
7) Now Computer Will convert this written text to speech .
[caption id="" align="alignnone" width="501"] Your Program Will Look Like This[/caption]
Its Useful to play with childs , adding startup Voice message , Adding voice alert in game etc .
Thanks for visiting . Good bye .
0 comments:
Post a Comment