Speak
Reads text aloud with the browser's voices: messages from a running block, text files, or what you type.
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
| Input | Takes | What it is |
|---|---|---|
Textdata | Stream or Text or Files txt, md | Live messages, or text files Takes several connections. |
Settings
| Setting | Default | What it does |
|---|---|---|
Stream channelchannel |
empty | Empty = every channel |
Field to speakfield |
text | For items that are dicts |
Voicevoice |
empty | A language (en-US, it-IT) or part of a voice name; empty = the browser's default |
Speedrate |
1 | From 0.5 to 2 |
Pitchpitch |
1 | From 0 to 2 |
A new message interrupts the one being spokeninterrupt |
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
3D viewThe project's 3D view: draws whatever the project gives it (scenes, 3D files, live positions, robots with any number of joints, several at once, fleets, rockets, vehicles), with the models, textures and sounds of the project's assets; live while a run goes on, then replays; numbers, events and controls on top.CameraThe camera of the computer you are using: watch it, take pictures, record videos, and send frames to running blocks.ChartLines, areas, steps, points, bars or a histogram, from a table or a live stream.ControlsButtons, sliders, switches, text boxes and boards of cells that send commands to the blocks of a running run.GaugesDials or large numbers with the latest values of a live stream, a table or metrics.HeatmapA grid of values as colours: a matrix from a file or the latest one of a live stream.