class SpeechSynthesisWordBoundaryEventArgs

class SpeechSynthesisWordBoundaryEventArgs
  : public EventArgs

Class for speech synthesis word boundary event arguments. Added in version 1.7.0.

Members

ResultId

Syntax: public const std::string & ResultId;

Unique result id. Added in version 1.25.0.

AudioOffset

Syntax: public uint64_t AudioOffset;

Word boundary audio offset.

Duration

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

Time duration of the audio. Added in version 1.21.0.

TextOffset

Syntax: public uint32_t TextOffset;

Word boundary text offset.

WordLength

Syntax: public uint32_t WordLength;

Word boundary word length.

Text

Syntax: public const std::string & Text;

The text. Added in version 1.21.0.

BoundaryType

Syntax: public const SpeechSynthesisBoundaryType & BoundaryType;

Word boundary type. Added in version 1.21.0.

SpeechSynthesisWordBoundaryEventArgs

Syntax: public inline explicit SpeechSynthesisWordBoundaryEventArgs ( SPXEVENTHANDLE hevent );

Constructor.

Parameters

  • hevent Event handle

~SpeechSynthesisWordBoundaryEventArgs

Syntax: public inline virtual ~SpeechSynthesisWordBoundaryEventArgs ( );