This is the most common and easiest program which you can simply make through notepad.
With this program you can convert your texts into speech.
Here all you need to do is the following procedure :-
First of all open the notepad program(the deafult text editor) Run>notepad press enter and notepad will open.
Type (capital D) Dim(put space)msg(comma)sapi then press enter.
Then type msg=InputBox("Prakash Vast -- www.vasturs.wen.ru","Prakash-Text will speak itself","Enter your text here") then press enter.
*Note:- You can put any words you like inside the inverted comma beside of InputBox(" ")
Again type (capital S) Set(put space)sapi=createobject("sapi.spvoice") then press enter.
Lastly type sapi(dot)(capital S)Speak(put space)msg
Below is the example to make you more clear :-
Dim msg,sapi msg=InputBox("Prakash Vast -- www.vasturs.wen.ru","Prakash-Text will speak itself","Enter your text here") Set sapi=createobject("sapi.spvoice") sapi.Speak msg
Now save your file ( CTRL + S ) as File name: speech.vbs and Save as type: All Files and lastly click on save button.
Do open the program that you have saved.
Enter your text in the below area written as "Enter your text here" field and click ok.
You can hear the computers deafult voice speaking the text you have entered.
Thats all. Now your program is ready. Isn't it simple...!!!
No comments:
Post a Comment
Thank you for your comment.