Esacode

Docs / Blocks / Visualizers

Speak

Reads text aloud with the browser's voices: messages from a running block, text files, or what you type.

A view in the browser (JavaScript) Visualizers Version 1.0 Code you can open and adapt

How it works

Connect a block's live telemetry: each new item is spoken (a text, or a dict with a field named below, such as ctx.telemetry("say", {"text": "Your move"})). Text files can be read with their Read button, and anything typed in the box is spoken. Browsers speak only after a click: press Turn on speech once. Voices come with the browser and the system; choose one by language or name.

Inputs

InputTakesWhat it is
Text
data
Stream or Text or Files
txt, md
Live messages, or text files Takes several connections.

Settings

SettingDefaultWhat it does
Stream channel
channel
empty Empty = every channel
Field to speak
field
text For items that are dicts
Voice
voice
empty A language (en-US, it-IT) or part of a voice name; empty = the browser's default
Speed
rate
1
From 0.5 to 2
Pitch
pitch
1
From 0 to 2
A new message interrupts the one being spoken
interrupt
off

Where it runs

In the browser, on the flow's View page and in the run's results, in a sandbox without network access. It needs no worker.

More in Visualizers