text to speech

This block is part of the ui group and was last modified in core v12.0.5.

text to speech v12.0.5

Speaks the given text in a browser-controlled voice.

In pins 3 + flow
  • flow
    flow
  • text required
    value

    The text to speak, use commas to improve the way the text is spoken

  • language
    value

    A value representing a BCP 47 language tag (en-EN, nl-NL, etc).

    Default browser language

  • rate
    number

    A float representing the rate value. It can range between 0.1 (lowest) and 10 (highest), with 1 being the default pitch for the current platform or voice, which should correspond to a normal speaking rate. Other values act as a percentage relative to this, so for example 2 is twice as fast, 0.5 is half as fast, etc.

    Default 1

Out pins 0 + flow
  • flow
    flow
speak

A typical wiring for text to speech: a function trigger starts the flow; 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 v12.0.5.


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