0
Answered

a Function that accepts array of words with an interval time in Client API

Mohammad Hoseinifar 5 years ago in SitePal Platinum updated by Gil Sideman 5 years ago 3

Is in Client API a function that accepts an array of words like

var names = ['Tom','Sara','Jack']

and time interval like 2 mls

and make a video with a character witch says this words with this time gap

for example Tom (2 mls wait) Sara (2 mls wait) ....

Answer

Answer
Under review

Hello Mohammad - 

There is no such API option, but you can use the API function sayText, and in the text include appropriate tags to make the speech engine pause between the words.

The simplest solution is to use commas or periods as separators between the names. This will introduce a pause. 

But if you want to precisely control the length of the pause then you need to use the SSML Break tag.

I can't post an example here - because the forum is designed to strip such tags, but please look in the Client API document, appendix B. See the examples at the bottom of page 36, and look for how the 'time' parameter is used to sepcify the precise length of the break in milliseconds.

Hope this helps,

Gil

The SitePal Team

 

Answer
Under review

Hello Mohammad - 

There is no such API option, but you can use the API function sayText, and in the text include appropriate tags to make the speech engine pause between the words.

The simplest solution is to use commas or periods as separators between the names. This will introduce a pause. 

But if you want to precisely control the length of the pause then you need to use the SSML Break tag.

I can't post an example here - because the forum is designed to strip such tags, but please look in the Client API document, appendix B. See the examples at the bottom of page 36, and look for how the 'time' parameter is used to sepcify the precise length of the break in milliseconds.

Hope this helps,

Gil

The SitePal Team