i542 Posted June 21, 2006 Posted June 21, 2006 (edited) Hi,I created that small program only for fun. I think and you will cheer when hear how Microsoft Sam reading your document or speaking non-English text.So, open that ZIP which includes: Script compiled to EXESource code for your additionsReadme file (you need MS Word to read it)Current version: 1.1Don't worry, be i542P.S. My English is maybe bad... EDIT: 0.1 deleted, now you can download 1.2 here. See post at end for other informations.Talk2Me_1.2.zip Edited July 11, 2006 by i542 I can do signature me.
jcorr1339 Posted June 23, 2006 Posted June 23, 2006 I did something similar. Check it out. expandcollapse popup#include <GUIConstants.au3> Opt ( "GUICloseOnESC", 0) Opt ( "GUIOnEventMode", 1) _StartHereGUI() While 1 = 1 Sleep(30) Wend Func _StartHereGUI();Builds the first GUI window; GuiCreate("Computer Speak", 452, 340,(@DesktopWidth-452)/2, (@DesktopHeight-391)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) GuiCtrlCreateButton("Speak", 70, 265, 70, 30) GuiCtrlCreateButton("Clipboard", 190, 265, 70, 30) GuiCtrlCreateButton("Exit", 310, 265, 70, 30) GuiCtrlCreateInput("", 205, 40, 190, 20) GuiCtrlCreateLabel("", 70, 80, 320, 150) GuiCtrlCreateLabel("Have the computer speak:", 70, 40, 130, 30) GUICtrlSetOnEvent(3, "_SpeakButton");OnEvent functions are only called when GUIOnEventMode is set. GUICtrlSetOnEvent(4, "_ClipBoardBtn");OnEvent functions are only called GUICtrlSetOnEvent(5, "_Exit");OnEvent functions are only called GUISetOnEvent ($GUI_EVENT_CLOSE, "_ClosedBtn") GUISetState(@SW_SHOW) EndFunc Func _SpeakButton();Action for the speak Btn; $Input = GUICtrlRead(6) _StartHereGUI() GUISetState(@SW_HIDE) $talk = ObjCreate("SAPI.SpVoice") $talk.Speak($Input) EndFunc Func _ClipBoardBtn();Action for the clipboard Btn; $clip = ClipGet() GUICtrlSetData(7,$clip) $talk = ObjCreate("SAPI.SpVoice") $talk.Speak($clip) EndFunc Func _Exit();Action for the close Btn; GUIDelete () Exit EndFunc Func _ClosedBtn();Action for the close Btn; GUIDelete () Exit EndFunc
NELyon Posted June 23, 2006 Posted June 23, 2006 very nice i542... now microsoft needs some more realistic sounding voices.
i542 Posted July 3, 2006 Author Posted July 3, 2006 (edited) New version! It is 1.0! Here it is. I added 'Import from clipboard' and fixed something - color in previous version doesn't work. jcorr1339, I tryed your code, but I think that is more functional... Enjoy! i542 EDIT: Removed attachment due to lack of space Edited June 20, 2007 by i542 I can do signature me.
Xenobiologist Posted July 3, 2006 Posted July 3, 2006 HI, here is something you can implement to play around with. #include <inet.au3> Dim $voice = ObjCreate("Sapi.SpVoice") Speak(@IPAddress1 , 0.75 , 100) MsgBox(0, "IP-Addresse", "Deine IP-Adresse lautet: " & @IPAddress1) Func Speak($Text, $Rate, $Vol) $voice.Rate = $Rate $voice.Volume = $Vol $voice.Speak($Text) EndFunc ;==>Speak So, you can set up the speed. Hope you'll like it. Nice script! So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
i542 Posted July 4, 2006 Author Posted July 4, 2006 OK, th.meger, i tryed your code. And yes, it will be implented in v1.1 , but with some changes. For other users of AutoIt forum: when I post new versions, 0.1 will be deleted. I think it will be tomorrow. Have fun with Talk2Me! i542. I can do signature me.
i542 Posted July 6, 2006 Author Posted July 6, 2006 (edited) Hi again! I decided 0.1 stays here but this is really better... This version 1.1 has TWO toolboxes - one for frequently used functions and one for playing MP3. Then, you now can choose voices: Mary, Mike and Sam. Maybe it doesn't working well but you can change speed (norm - max). Hopefully you like this program... i542 EDIT: Attachment deleted, look first post. Edited July 6, 2006 by i542 I can do signature me.
Xenobiologist Posted July 6, 2006 Posted July 6, 2006 HI, nice. Would be easier when you change your first post. Otherwise you have to search through the thread to find the latest version. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
i542 Posted July 6, 2006 Author Posted July 6, 2006 OK, I will do that now... i542 I can do signature me.
lukeneo Posted July 9, 2006 Posted July 9, 2006 Hi,I created that small program only for fun. I think and you will cheer when hear how Microsoft Sam reading your document or speaking non-English text.So, open that ZIP which includes: Script compiled to EXESource code for your additionsReadme file (you need MS Word to read it)Current version: 1.1Don't worry, be i542P.S. My English is maybe bad... EDIT: 0.1 deleted, now you can download 1.1 here.EDIT 2: For 1.1: There was be one error, so 14 peoples who are downloaded Talk2Me 1.1, download that. Problem is be in changing voices. Thanks.hi ....is this program talks other languages ?is there any options to configure prior that ?
i542 Posted July 9, 2006 Author Posted July 9, 2006 hi ....is this program talks other languages ?is there any options to configure prior that ?1. No, that program can't talk in some other languages. You can set three voices: MS Mary, Mike and Sam. (you can write at your language but then don't talks enough clear).2. Only what you can configure is voices and speed.I am included code you can change. PLZ tell me if is some popular voice which I don't know, so I can implent it in 1.2. i542 I can do signature me.
i542 Posted July 11, 2006 Author Posted July 11, 2006 Well, you now hav tray function for keeping T2M always runned. Have fun with 1.2. See first post for download! i542 I can do signature me.
taurus905 Posted July 11, 2006 Posted July 11, 2006 i542, Very cool program. Have you considered highlighting each word in the text as it is read? I think it would be good for learning English, or other languages. taurus905 "Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs
i542 Posted July 11, 2006 Author Posted July 11, 2006 i542,Very cool program. Have you considered highlighting each word in the text as it is read? I think it would be good for learning English, or other languages.taurus905OK. Do you know some good TTS voice to I implent it in script?i542 I can do signature me.
taurus905 Posted July 11, 2006 Posted July 11, 2006 OK. Do you know some good TTS voice to I implent it in script?i542i542,I'm sorry. I don't.Maybe someone with more knowledge than myself can help you.taurus905 "Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs
i542 Posted July 12, 2006 Author Posted July 12, 2006 i542,I'm sorry. I don't.Maybe someone with more knowledge than myself can help you.taurus905 sad.i542 I can do signature me.
tonedeaf Posted July 13, 2006 Posted July 13, 2006 OK. Do you know some good TTS voice to I implent it in script?i542Check out this demo of TTS Voices by Loquendo:http://actor.loquendo.com/actordemo/default.aspThey are the absolute best in my opinion. To try them out for 30 days you can download them from:http://www.qualilife.com/products/index.cfm?id=218After you install them they'll be available in the Voice Selection in Speech Properties.
i542 Posted July 13, 2006 Author Posted July 13, 2006 Check out this demo of TTS Voices by Loquendo:http://actor.loquendo.com/actordemo/default.aspThey are the absolute best in my opinion. To try them out for 30 days you can download them from:http://www.qualilife.com/products/index.cfm?id=218After you install them they'll be available in the Voice Selection in Speech Properties.Thank you!i542 I can do signature me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now