Skip to main content
Table of Contents

TTMSFNCWXSpeechSynthesis.Speak Method

Speaks the supplied text using the current voice, pitch, rate, and volume settings.

API unit family: TMSFNCWXSpeechSynthesis Declaring type: TTMSFNCWXSpeechSynthesis Inherited from: TTMSFNCWXCustomSpeechSynthesis

Syntax

FMX.TMSFNCWXSpeechSynthesis.hppPascalC++
procedure Speak(AText: string);
void __fastcall Speak(System::UnicodeString AText);

Remarks

Set Voice, Pitch, Rate, and Volume before calling this method to control how the text is read.

Parameters

Name Description
AText The text to be spoken. Line breaks are normalized before playback.