Table of Contents

TTMSFNCWXCustomSpeechSynthesis Class

Base class that drives browser-based text-to-speech, converting text into spoken audio through the host page speech engine.

API unit family: TMSFNCWXSpeechSynthesis Inherits from: TTMSFNCCustomWEBComponent

Syntax

TTMSFNCWXCustomSpeechSynthesis = class(TTMSFNCCustomWEBComponent)

Remarks

Exposes voice selection, pitch, rate, and volume control along with playback commands and lifecycle events. Speech output depends on the voices the host platform makes available.

Methods

Name Description
Cancel Stops the current speech output and discards any pending text.
Pause Suspends the current speech output so it can be continued later.
Resume Continues speech output that was previously suspended with Pause.
Speak Speaks the supplied text using the current voice, pitch, rate, and volume settings.