VoiceWaitUntilDone
- waits until TTS voice has finished speaking

Text-to-Speech functions
(AmiBroker 6.30)


SYNTAX VoiceWaitUntilDone( timeout )
RETURNS NUMBER
FUNCTION Waits until voice has finished speaking or specified timeout (1..100ms) has elapsed. Returns True (1) if voice finished, False (0) if the timeout elapsed.

Parameters:

  • timeout - time in milliseconds on how long to wait for speech synthesizer to finish
EXAMPLE
SEE ALSO Say() function , VoiceCount() function , VoiceSelect() function , VoiceSetRate() function , VoiceSetVolume() function

References:

The VoiceWaitUntilDone function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.