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 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
- text
valuerequiredThe text to speak, use commas to improve the way the text is spoken
- language
valueA value representing a BCP 47 language tag (
en-EN,nl-NL, etc). - rate
numberA 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.
Out pins 0 + 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.
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 