Vhost API - Speech Functions (Scene embedded in HTML)

setStatus(interruptMode, progressInterval)


sayAudio('Have a nice day')
sayText('[text]',3,1,1)


To set the interruptMode parameter of setStatus() to 0 using the setStatus() command: setStatus(0,0). In this case, audio playback function calls are queued for consecutive playback.

To set the interruptMode parameter of setStatus() to 1 using the setStatus() command: setStatus(1,0). In this case, the current audio is interrupted when audio playback functins such as sayAudio or sayText are called.

To see an example of how the progressInterval parameter works, see the Events example page .


See the source of this page for the API code