Call Text-to-Speech

Note: to use "Text-to-Speech", domain validation must be enabled within your account.
  • When the API is loaded, using the API loaded callback:

    function vw_apiLoaded()
       {
           //the API is loaded, add actions here
           sayText('Hello world',3,1,3);
           sayText('...Hallo Welt...',1,3,2);
           sayText('...Bonjour tout le monde...',1,4,2);
           sayText('こんにちは世界',6,12,3);
           sayText('你好世界',7,10,3);
       }
  • Using a call to sayText(), specifying the text:
    Play Audio
  • Letting the user enter the text in a form:

Example : When the API is loaded, using the API loaded callback:
Example : Using a call to sayText()
Example : Letting the user enter the text in a form: