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 revisionPrevious revision
Next revision
Previous revision
asynchronous_20speech [2018/04/15 12:49] – Added syntax highlighting richardrussellasynchronous_20speech [2024/01/05 00:22] (current) – external edit 127.0.0.1
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: 2024/01/05 00:18 (external edit)