--- title: "TTS Websocket" slug: "dataflow-nodes-tts-websocket" updated: 2026-11-03T05:26:13Z published: 2026-11-03T05:26:13Z canonical: "docs.sestek.com/dataflow-nodes-tts-websocket" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.sestek.com/llms.txt > Use this file to discover all available pages before exploring further. # TTS Websocket Text To Speech Websocket Integration Node ## Parameters | name | description | default | | --- | --- | --- | | Address | Address of the SESTEK TTS service | http://core-tts | | IgnoreSslErrors | Ignores SSL certificate validation errors (applies to both https and wss) | false | | ConnectionTimeoutMsec | Timeout for establishing the WebSocket connection | 10000 | | Language | Used at startup to determine which voice to select from the Voices list | - | | Credential | Id of the credential that will be used for TTS requests. This parameter is only necessary if a cloud TTS deployment is used. You must leave this empty for on-premise deployments | None(On-Prem) | | Voices | The list of available voices | - | | Volume | Controls the output loudness of the synthesized speech. Accepts values between 0.0 (muted) and 2.0 | 1.0 | | Rate | Controls the playback speed of the synthesized speech. Accepts values between 0.33 (slower) and 3.0 (faster). | 1.0 | | Force Synthesis On Every Text | If true, tts will try to synthesize a TTS sound on every "Text". | false | ## Inputs ### Audio none ### Events | name | description | known nodes that generate this event | | --- | --- | --- | | Every Event that Contains the `Data.Text` field | A TTS Synthesis audio can be generated from any event that is text based. Users can also generate their custom event that has `Data.Text` and send it through the [Entry](/v1/docs/dataflow-nodes-entry), or [External Relay](/v1/docs/dataflow-nodes-external-relay) nodes. | [SR Http](/v1/docs/dataflow-nodes-speech-recognition-sr-http), [SR WebSocket](/v1/docs/dataflow-nodes-speech-recognition-sr-websocket), [Translate](/v1/docs/dataflow-nodes-translate) | | [Interruptive Barge In](/v1/docs/events#interruptive-barge-in) | Drops all queued texts, stops the ongoing synthesis and discards its remaining audio. | Barge In Announcer | | [Response Cancellation Update](/v1/docs/events#response-cancellation-update) | When `Data.State` is Cancelled, handled the same way as Interruptive Barge In. | VA Sync | ## Outputs ### Audio Synthesized speech is sent to output Audio format is 16-bit PCM at the project’s audio sample rate. Audio is sent without a WAV header; downstream nodes should respect the `HasWaveHeader = false` flag ### Events | name | description | | --- | --- | | [Start of TTS Fragment](/v1/docs/events#start-of-tts-fragment) | Sent just before a TTS audio fragment is written to the Audio output. Contains metadata about the fragment. This event includes `Data.HasWaveHeader = false` . | | [End of TTS Fragment](/v1/docs/events#end-of-tts-fragment) | Sent just after a TTS fragment has been fully written to the Audio output. | | [Start Of TTS Stream](/v1/docs/events#start-of-tts-stream) | Sent when the synthesis of an input event's text begins. Carries the input event's `Data.Text` and `Data.Context`. | | [End Of TTS Stream](/v1/docs/events#end-of-tts-stream) | Sent when the synthesis of that text ends or is stopped. | | TTS Synthesis Begin / TTS Synthesis End | Sent when the TTS service reports the beginning and end of a synthesis. | | TTS Viseme | Sent when the TTS service reports visemes, for the scheme given in the `VisemeScheme` field of the start message. | ## Remarks ### Custom TTS Event A sample tts-request event would look as follows. ``` { "Event": { "Name": "Custom TTS Event", "Data" : { "Text": "hello world" } } } ``` `Data.Text`: The text that will be synthesized. Sending Custom Events to Projects To learn more about sending `Events` to projects, you can check the [HTTP](/v1/docs/dataflow-integrations-http) and [External Relay](/v1/docs/dataflow-nodes-external-relay) pages. ### Project Structure A minimum viable TTS websocket project can be built as such: ### Supported flow types Stream, Batch ## Release Notes ****v4.17.0**** - Added TTS Stream Started-Ended events. - Added TTS Synthesis Begin-End and TTS Viseme events. - Added Interruptive Barge-In support. - Added Response Cancellation support. ****v4.8.0**** - Added volume and rate support. - Added force synthesis on each text option. ****v4.6.0**** - Introduced node.