Dela via


klass SpeechSynthesisVisemeEventArgs

class SpeechSynthesisVisemeEventArgs
  : public EventArgs

Klass för talsyntesens 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 tick (100 nanosekunder).

VisemeId

Syntax: public uint32_t VisemeId;

Viseme-ID.

Animering

Syntax: public const std::string & Animation;

Animering, kan vara svg eller annat format.

SpeechSynthesisVisemeEventArgs

Syntax: public inline explicit SpeechSynthesisVisemeEventArgs ( SPXEVENTHANDLE hevent );

Konstruktören.

Parametrar

  • hevent Händelsereferens

~SpeechSynthesisVisemeEventArgs

Syntax: public inline virtual ~SpeechSynthesisVisemeEventArgs ( );