asynchronous_20speech
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
asynchronous_20speech [2018/03/31 13:19] – external edit 127.0.0.1 | asynchronous_20speech [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Asynchronous speech===== | =====Asynchronous speech===== | ||
- | //by Richard Russell, October 2016//\\ \\ The supplied example program **SPEAK.BBC** outputs the speech synchronously, | + | //by Richard Russell, October 2016//\\ \\ The supplied example program **SPEAK.BBC** outputs the speech synchronously, |
+ | |||
===== 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 parameter '' | ||
+ | |||
+ | <code bb4w> | ||
REM. Text-to-speech demonstration program using COMLIB | REM. Text-to-speech demonstration program using COMLIB | ||
REM. R.T.Russell, | REM. R.T.Russell, | ||
Line 49: | Line 53: | ||
DEF FNisspeaking(tts%) | DEF FNisspeaking(tts%) | ||
= FN_getvaluestr(tts%," | = FN_getvaluestr(tts%," | ||
- | \\ | + | </ |
+ | |||
===== COM object method ===== | ===== COM object method ===== | ||
- | \\ | + | |
+ | The **PROC_voice_speak()** routine returns immediately and the **FN_voice_status()** function allows the current status to be polled so you can discover when the speech is finished: | ||
+ | |||
+ | <code bb4w> | ||
REM. Text-to-speech demonstration program: asynchronous | REM. Text-to-speech demonstration program: asynchronous | ||
REM. Richard Russell, 18-Apr-2012 | REM. Richard Russell, 18-Apr-2012 | ||
Line 116: | Line 125: | ||
SYS !(!V%+8), V% | SYS !(!V%+8), V% | ||
ENDPROC | ENDPROC | ||
+ | </ |
asynchronous_20speech.1522502346.txt.gz · Last modified: 2024/01/05 00:18 (external edit)