Skip to main content

Chaining speech → text → speech

Elys Speak is the final stage of the Elys voice suite. The three plugins are independent (no shared dependency) and interoperate purely through FString.

StagePluginInput (sink)Output (source)
Speech-to-textElys ListenmicrophoneOnText (FString)
Language modelElys MindPushText (FString)OnText (FString)
Text-to-speechElys SpeakPushText (FString)audio

Elys Speak is a sink: PushText(Text) synthesizes the text with the component's DefaultVoiceParams (equivalent to SpeakText).

Speak an LLM reply

LLM->OnText.AddDynamic(TTS, &UERP_TTSComponent::PushText);

Echo what the player said (STT → TTS, no LLM)

STT->OnText.AddDynamic(TTS, &UERP_TTSComponent::PushText);

In Blueprint: bind the upstream On Text event to Elys TTS Component · Push Text. Audio plays automatically when bAutoPlay is enabled, or bind On Speech Generated to handle the USoundWave yourself.