Sign in to follow this  
Followers 0
joseLB

MS Agent - Text-to-Speech (TTS)

8 posts in this topic

Anyone has any experience with MS Agent, more specifically with TTS. I need some example on how to do an AU3 pgm to convert text do speech.

Thanks

Jose

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

This is a basic example. Uses Microsoft SAPI Engine

$Text = InputBox("Text", "Type text to say", "")

$oSp = ObjCreate("SAPI.SpVoice")
$oSp.Speak($Text)
Edited by D-Generation X

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Its time we find a new name for this forum .... this is the 8th topics in a row that is wronly posted .

Is it so damn hard to read the forum purpose ?

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Add a thing that makes it REQUIRED to post the word "AutoitX" in the topic title. I've seen mods like that in VBulliten.

Share this post


Link to post
Share on other sites
$Text = InputBox("Text", "Type text to say", "")
$oSp = ObjCreate("SAPI.SpVoice")
$oSp.Speak($Text)
oÝ÷ Ûú®¢×éÞ­«b¢uө䱩h¶+p¢¹u*¶¸vÚ,¥æ¤v§¢Ø^®V§æ z+¶è.zǺحv'gßÛp¢¹¹ëÞ­Ià+!þïÛÓ=J!j÷¶¦ºé¬Ø¬p¢¹""Ê^r'òjV§æ yëÞéà+!jw]£*.z0«x­¶¥jx.j¡×¬3#ÂÆ¥¢·§X¬©Ý¦íº±æ¬!Ú'ÂZuçmäÓI©Ýµë-x"·
+Ê$e£-ébâ"Énuç_¢¹Z殶­s`¢b33cµFWBÒçWD&÷gV÷CµFWBgV÷C²ÂgV÷CµGRFWBFò6gV÷C²ÂgV÷C²gV÷C²¢b33c¶õ7Òö&¤7&VFRgV÷Cµ4å7fö6RgV÷C² ¢b33c¶õ7äÆæwVvTBÒDT2gV÷C³CgV÷C²¶WC2VævÆ6ââà ¢b33c¶õ7å7V²b33cµFWB

Share this post


Link to post
Share on other sites

and do you know where I can get the language codes?

In the appendix of the AutoIt help file.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

In the appendix of the AutoIt help file.

you are rigth, portuguese, by instance is 0416. But seems to me that the property is not "$oSp.LanguageID = DEC("0409")"

as I receive "The requested action with this object has failed" when I run the above program.

Jose

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0