class SpeechSynthesisVisemeEventArgs

class SpeechSynthesisVisemeEventArgs
  : public EventArgs

Class for speech synthesis viseme event arguments. Added in version 1.16.0.

Members

ResultId

Syntax: public const std::string & ResultId;

Unique result id. Added in version 1.25.0.

AudioOffset

Syntax: public uint64_t AudioOffset;

Audio offset, in ticks (100 nanoseconds).

VisemeId

Syntax: public uint32_t VisemeId;

Viseme ID.

Animation

Syntax: public const std::string & Animation;

Animation, could be svg or other format.

SpeechSynthesisVisemeEventArgs

Syntax: public inline explicit SpeechSynthesisVisemeEventArgs ( SPXEVENTHANDLE hevent );

Constructor.

Parameters

  • hevent Event handle

~SpeechSynthesisVisemeEventArgs

Syntax: public inline virtual ~SpeechSynthesisVisemeEventArgs ( );