Skip to content

Class UTryllSpeakParams

ClassList > UTryllSpeakParams

More...

  • #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

See 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

See UTryllNodeParamsBase

Type Name
const FTryllGraphDescription * FindEnclosingGraph (const UObject * Obj)

Protected Functions inherited from UTryllNodeParamsBase

See 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

FString UTryllSpeakParams::DefaultExit;

Default exit target — routes here after synthesis completes. Empty string = END. Graph exit "default" — target node name; empty = END.


variable FirstChunkMaxChars

int32 UTryllSpeakParams::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

FTryllSlotInput UTryllSpeakParams::Input;

Upstream inter-node slot this field consumes. Empty = context default.


variable MinSentenceChars

int32 UTryllSpeakParams::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

bool UTryllSpeakParams::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

inline virtual ETryllNodeType UTryllSpeakParams::GetNodeType () override const

Implements UTryllNodeParamsBase::GetNodeType


function IsTtsConsumer

inline virtual bool UTryllSpeakParams::IsTtsConsumer () override const

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