Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CE Lua Speak()

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Wed Jul 22, 2020 6:23 am    Post subject: CE Lua Speak() Reply with quote

Is CE 7.1 use SAPI 5.3 or depending on Windows system?.
How to change voice rate and speech speed in CE Lua Speak()?

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25815
Location: The netherlands

PostPosted: Thu Jul 23, 2020 2:28 pm    Post subject: Reply with quote

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms717077(v=vs.85)

you will have to use speak() and use xml formatting

e.g:
Code:

speak([[
<text>
hello

<volume level="80"/>
All text which follows should be spoken at volume level eighty.

<rate absspeed="5">
   This text should be spoken at rate five.
   <rate absspeed="-5">
      This text should be spoken at rate negative five.
   </rate>
</rate>
</text>
]])


not everything works as documented but some stuff does

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Thu Jul 23, 2020 7:54 pm    Post subject: Reply with quote

Thanks, DB, the link you provided is broken 404, but the sample you give is enough and useful for what I need.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4710

PostPosted: Thu Jul 23, 2020 10:26 pm    Post subject: Reply with quote

The forum's auto URL algorithm stops on parenthesis. Microsoft (or someone else; I don't know) should conform to URI standards and use percent encoding, like this:
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms717077%28v=vs.85%29

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Jul 24, 2020 12:25 am    Post subject: Reply with quote

ParkourPenguin wrote:
The forum's auto URL algorithm stops on parenthesis. Microsoft (or someone else; I don't know) should conform to URI standards and use percent encoding, like this:
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms717077%28v=vs.85%29


I see, that is why make the link provided by DB, has broken when use direct click. The link open just fine when use copy and paste to the browser.

I need these speak() stuffs for my app. And everything has worked fine. Thank you all.



Capture.JPG
 Description:
 Filesize:  96.69 KB
 Viewed:  3386 Time(s)

Capture.JPG



_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites