beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Op author: pandur

Text-to-Speech, speaks different languages (speech synthesis)


Text-to-Speech, says things with synthethic voice. Enter some text to Text and trigger the Say-port.



Inputs

Update State (Trigger)

Updates the output-parameters (Speaking, Pending, Paused). There is no need to connect this if you don’t use them.

Text (String)

The text which should be said. If Say On Text Change is set to true, every time you change the text it will be said.

Say (Trigger)

Says text, the most important port of this op.

Voice (select box /Number)

There are multiple voices to choose from. These may vary depending on your browser.

Pitch (Number)

The pitch (how high / low), in range [0..2], will be actived the next time you call Say.

Rate (Number)
Volume (Number)

How loud, in range [0..1]

Say on Text Change (boolean /Number)

If set every time you change the text it will be said

Pause (Trigger)

Paused saying things

Resume (Trigger)

Resumes saying things after a pause

Cancel (Trigger)

Cancels the queue, if you trigger Say too often, this might come in handy.

Outputs

Next (Trigger)

Triggers the next op.

Speaking (Number)

true when the voice is currently speaking. You need to connect Update State for this to be updated.

Pending (Number)

true when the last say command (the last text) is waiting in line. You need to connect Update State to e.g. MainLoop for this to be updated.

Paused (Number)

true when the voice is currently paused. You need to connect Update State to e.g. MainLoop for this to be updated.

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Say Example

Says «cables» when the button is pressed.

Open Example In Editor


Patches using Say_v2

Changelog


Ops.User.pandur.Say2 renamed to Ops.WebAudio.TextToSpeech.Say_v2
2020-05-22 - pandur