Class UTryllSpeakParams¶
#include <TryllSpeakParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| FString | DefaultExit |
| int32 | FirstChunkMaxChars = 0 |
| FTryllSlotInput | Input |
| int32 | MinSentenceChars = 12 |
| bool | bOverrideInput = false |
Public Functions¶
| Type | Name |
|---|---|
| virtual ETryllNodeType | GetNodeType () override const |
| virtual bool | IsTtsConsumer () override const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, Tryll::NodeParams::NodeParams & OutType) override const |
Public Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual TArray< FString > | GetExitTargetOptions () const |
| virtual ETryllNodeType | GetNodeType () const |
| FString | GetOwnerNodeName () const |
| virtual bool | IsTtsConsumer () const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const |
| virtual void | PostLoad () override |
| virtual void | Serialize (FArchive & Ar) override |
| ETryllNodeType return | static_cast (0) |
Public Static Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Protected Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual void | ApplyOldDefaults (int32 SavedVersion) |
| virtual bool | UpgradeFrom (int32 SavedVersion) |
Detailed Description¶
Standalone TTS-only node. Voices its input-resolved slot (any upstream node's output — Generate, CannedResponse, etc. — or user_message itself), segments it into sentences, and synthesizes each on a dedicated TTS strand, emitting PCM frames via OnTtsAudio callbacks. Unlike GenerateAndSpeak it runs no LLM inference, so it can voice canned/scripted lines or any upstream-produced answer without paying for a generation pass. The voice belongs to the agent (CreateAgentRequest.voice); agent creation fails without one (3025).
Public Attributes Documentation¶
variable DefaultExit¶
Default exit target — routes here after synthesis completes. Empty string = END. Graph exit "default" — target node name; empty = END.
variable FirstChunkMaxChars¶
Time-to-first-audio knob. When > 0, the FIRST chunk may also end at a comma, semicolon or colon followed by a space, or at an em dash, and is cut at the next space once it is this wide, so speech starts sooner. Neither cut fires before 5 words or min_sentence_chars. Later chunks keep whole sentences. No effect on text without spaces (CJK). 0 = off. Check how it sounds with your voice before shipping it.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable MinSentenceChars¶
Minimum width of the text since the last cut before a sentence end closes a chunk; a CJK or other 3–4-byte character counts as 2. The default 12 is two or three English words. Lower values reduce first-utterance latency at the cost of more, smaller TTS calls.
variable bOverrideInput¶
Slot name this node voices. Empty = "user_message" (same default as every other input-bearing node). Structural: immutable after creation — rebinding would re-wire the slot dataflow that is validated once at agent creation. Set to true to override the inherited Input value.
Public Functions Documentation¶
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function IsTtsConsumer¶
True when this node speaks through the agent's voice (Speak, GenerateAndSpeak). A graph with such a node needs a voice profile. From the schema's (tts_consumer).
Implements UTryllNodeParamsBase::IsTtsConsumer
function Pack¶
virtual flatbuffers::Offset< void > UTryllSpeakParams::Pack (
flatbuffers::FlatBufferBuilder & Fbb,
Tryll::NodeParams::NodeParams & OutType
) override const
Implements UTryllNodeParamsBase::Pack
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/Generated/Nodes/TryllSpeakParams.h