Dynamically Call Text-to-Speech
Available for Studio & SitePal
CLICK ME
|
In order to use dynamic "Text to Speech", domain validation must be enabled within your account. Please see our TTS tech note here for more information.
|
The "Text to Speech" audio may be triggered in any of 3 ways:
|
When the scene is loaded, using the "Event Functions":
function vh_sceneLoaded()
{ //the scene begins playing, add actions here
sayText('Welcome to our text to speech A P I example',3,1,3);
}
Using a call to the sayText() command, specifying the text:
Click here to say something!
|
|
|
Back to Previous Page
View the Source of this Page
|