Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

text to speech

This block is part of the state ui group and was last modified in core v10.4.28.

text to speech v10.4.28

Uses browsers text-to-speech to output a certain text in voice

In pins 4 + flow
  • flow
  • voice value required

    The language you would like to speak in (e.g. nl-NL, nl-BE, en-US etc)

  • text value required

    The text it should speak

  • pitch number

    Amount of pitch (0-2) • Min: 0 • Max: 2

    Default 1

  • rate number

    Rate of speech (0.5 - 2) • Min: 0.5 • Max: 2

    Default 1

Out pins 0 + flow
  • flow

A typical wiring for text to speech: a function trigger starts the flow; value feeds the voice pin; value feeds the text pin; the flow out pin feeds debug.

Studio canvas example for the text to speech block: typical wiring for text to speech.

Version history

Introduced in v10.4.28.


Back to state ui Return to the main group to view all sub-groups Back to state actions Return to the group to view all blocks within this group