Table of Contents

TMS FNC WX Speech Synthesis — Guides

Controlling speech output

Call Speak to start, Pause to pause, Resume to continue, and Cancel to stop speech output immediately.

Speech rate, pitch, and volume

Set Rate (0.1–10.0, default 1.0), Pitch (0.0–2.0, default 1.0), and Volume (0.0–1.0, default 1.0) to adjust the voice characteristics.

Voice selection

Call GetVoices to populate the available voices list, then assign the desired voice name to Voice before calling Speak.

Speaking state events

Handle OnIsSpeaking (type TTMSFNCWXSpeechSynthesisIsSpeakingEvent) to be notified when speech starts or stops, for example to update a button's enabled state.

See also