hello Jimmy
applying
When sending the text to the TTS engine it should know if that event happened but I can't find a way to know yet since there is no real example of how it works.
Jimmy wrote:hi,I am reading and reading about how to know that the "Word" event has happened, just for now I am interested in the phoneme or wordbut how to get Event to call Function like in MSDN Sample ?oSpVoice:EventInterests := SVEAllEvents + SVEAudioLevel
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms723593(v=vs.85)
applying
oNarrator := CreateObject( "Sapi.SPVoice" , "WithEvents" )
oNarrator:EventInterests := SVEPhoneme
oNarrator:Speak( Main.RichEdit_1.VALUE, SVSFlagsAsync)
While ..
...
end