Class SpeechSynthesisVisemeEventArgs


  • public class SpeechSynthesisVisemeEventArgs
    extends Object
    Defines contents of speech synthesis viseme event. Added in version 1.16.0
    • Method Detail

      • getResultId

        public String getResultId()
        Gets the unique ID of the result. Added in version 1.25.0
        Returns:
        Specifies unique ID of the result.
      • getAudioOffset

        public long getAudioOffset()
        Specifies current viseme's time offset in output audio, by ticks (100ns).
        Returns:
        Current viseme's time offset in output audio, by ticks (100ns).
      • getVisemeId

        public long getVisemeId()
        Specifies current viseme ID.
        Returns:
        The current viseme ID.
      • getAnimation

        public String getAnimation()
        Specifies the animation, could be in svg or other format.
        Returns:
        The animation string.