classe Synthèse de la paroleVisemeÉvénementArgs

class SpeechSynthesisVisemeEventArgs
  : public EventArgs

Classe pour les arguments d’événement viseme de synthèse vocale. Ajouté dans la version 1.16.0.

Membres

ResultId

Syntaxe : public const std::string & ResultId;

ID de résultat unique. Ajouté dans la version 1.25.0.

AudioOffset

Syntaxe : public uint64_t AudioOffset;

Décalage audio, en cycles (100 nanosecondes).

VisemeId

Syntaxe : public uint32_t VisemeId;

ID Viseme.

Animation

Syntaxe : public const std::string & Animation;

L’animation peut être svg ou un autre format.

SpeechSynthesisVisemeEventArgs

Syntaxe : public inline explicit SpeechSynthesisVisemeEventArgs ( SPXEVENTHANDLE hevent );

Constructeur.

Paramètres

  • handle d’événement hevent

~SpeechSynthesisVisemeEventArgs

Syntaxe : public inline virtual ~SpeechSynthesisVisemeEventArgs ( );