Parameter returned in the onTTSCompleteHandler callback providing timing details for word pronunciation.

var onTTSCompleteHandler = function(audioTrackAsset, wordInfos){
var wordInfosTxt = "Word Infos:";
for (var i = 0; i < wordInfos.length; i++) {
wordInfosTxt += "\nWord: '" + wordInfos[i].word + "', startTime: " + wordInfos[i].startTime.toString() + ", endTime: " + wordInfos[i].endTime.toString();
});

Hierarchy (View Summary, Expand)

Constructors

Properties

endTime: number

The time in milliseconds when the word ended in the audio.

startTime: number

The time in milliseconds when the word started in the audio.

word: string

The words the synthesized audio was generated for (as text might be expanded during the synthesize process, there might be a slight variation between the input text and the words returned).

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean

MMNEPVFCICPMFPCPTTAAATR