User Tools

Site Tools


asynchronous_20speech

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
asynchronous_20speech [2018/04/15 12:49]
richardrussell Added syntax highlighting
asynchronous_20speech [2019/03/31 21:41] (current)
richardrussell Added note about queuing multiple phrases.
Line 5: Line 5:
 ===== ActiveX method ===== ===== ActiveX method =====
  
-The **PROCspeakasync()** routine returns immediately and the **FNisspeaking()** function allows the current status to be polled so you can discover when the speech is finished:+The **PROCspeakasync()** routine returns immediately and the **FNisspeaking()** function allows the current status to be polled so you can discover when the speech is finished.  The parameter ''​3''​ passed to the **Speak** method is a combination of SVSFlagsAsync (1) and SVSFPurgeBeforeSpeak (2).  If you want to '​queue'​ multiple phrases change the parameter to ''​1''​ and move the '​waiting'​ loop to just before the **PROC_releaseobject()**:
  
 <code bb4w> <code bb4w>
asynchronous_20speech.1523796593.txt.gz ยท Last modified: 2018/04/15 12:49 by richardrussell