Dela via


klass SpeechSynthesisVisemeEventArgs

class SpeechSynthesisVisemeEventArgs
  : public EventArgs

Klass för talsyntes viseme-händelseargument. Har lagts till i version 1.16.0.

Medlemmar

ResultId

Syntax: public const std::string & ResultId;

Unikt resultat-ID. Har lagts till i version 1.25.0.

AudioOffset

Syntax: public uint64_t AudioOffset;

Ljudförskjutning, i fästingar (100 nanosekunder).

VisemeId

Syntax: public uint32_t VisemeId;

Viseme-ID.

Animation

Syntax: public const std::string & Animation;

Animering, kan vara svg eller annat format.

SpeechSynthesisVisemeEventArgs

Syntax: public inline explicit SpeechSynthesisVisemeEventArgs ( SPXEVENTHANDLE hevent );

Konstruktor.

Parameterar

  • hevent händelsereferens

~SpeechSynthesisVisemeEventArgs

Syntax: public inline virtual ~SpeechSynthesisVisemeEventArgs ( );