Delen via


klasse SpeechSynthesisWordBoundaryEventArgs

class SpeechSynthesisWordBoundaryEventArgs
  : public EventArgs

Klasse voor argumenten voor woordgrens voor spraaksynthese. Toegevoegd in versie 1.7.0.

Leden

ResultId

Syntaxis: public const std::string & ResultId;

Unieke resultaat-id. Toegevoegd in versie 1.25.0.

AudioOffset

Syntaxis: public uint64_t AudioOffset;

Woordgrens voor audioverschil.

Duur

Syntaxis: public const std::chrono::milliseconds & Duration;

Tijdsduur van de audio. Toegevoegd in versie 1.21.0.

TextOffset

Syntaxis: public uint32_t TextOffset;

Verschuiving van grenstekst in Word.

WordLength

Syntaxis: public uint32_t WordLength;

Lengte van woordgrenswoorden.

Tekst

Syntaxis: public const std::string & Text;

De tekst. Toegevoegd in versie 1.21.0.

BoundaryType

Syntaxis: public const SpeechSynthesisBoundaryType & BoundaryType;

Type woordgrens. Toegevoegd in versie 1.21.0.

SpeechSynthesisWordBoundaryEventArgs

Syntaxis: public inline explicit SpeechSynthesisWordBoundaryEventArgs ( SPXEVENTHANDLE hevent );

Constructor.

Parameters

  • hevent Gebeurtenisingang

~SpeechSynthesisWordBoundaryEventArgs

Syntaxis: public inline virtual ~SpeechSynthesisWordBoundaryEventArgs ( );