Navigation
API > API/Plugins > API/Plugins/TextToSpeech > API/Plugins/TextToSpeech/GenericPlatform > API/Plugins/TextToSpeech/GenericPlatform/FTextToSpeechBase
References
| Module | TextToSpeech |
| Header | /Engine/Plugins/Experimental/TextToSpeech/Source/TextToSpeech/Public/GenericPlatform/TextToSpeechBase.h |
| Include | #include "GenericPlatform/TextToSpeechBase.h" |
void Speak
&40;
const FString & InStringToSpeak
&41;
Remarks
Immediately speaks the requested string. If another string is being spoken by the TTS, the current string will immediately be stopped before the requested string is spoken. Note: Passing in long sentences or paragraphs are not recommended. Split the paragraph into shorter sentences and register with the OnTextToSpeechFinishSpeakingDelegate to pass in the next chunk.