Speak Response
The Speak response allows your prototype to "speak" by reading text aloud, as-is or via a formula.
Text
Enter the text that needs to be read out loud here.
![[object Object]](https://cdn.sanity.io/images/vidqzkll/production/7e2053f1f483c28536d29e13e60daf400dce9555-2175x1305.png/speak-response.png)
In this example, tapping the logo triggers this speech: "ProtoPie is the most intuitive way to prototype and perfect them".
Formula
You can use formulas to create dynamic voice interactions, as long as the formula you use returns a text. Additionally, you can use the predefined variable $voiceTranscript, which stores the latest voice command.
Voice Options
You can customize the voice style by choosing a language, type of voice, speed, and pitch.
Language
You can choose from 40 languages and language variants.
Voiced by
You can choose between a female or male voice per each language.
Speed
You can adjust the speed by choosing a value between 0.5 and 2.
Pitch
You can adjust the pitch by choosing a value between 0.5 and 2.
![[object Object]](https://cdn.sanity.io/images/vidqzkll/production/e9b0a1a301fbfc95cf06d63f30dd38cab8e7036d-2175x630.png/pitch.png)
In this example, once listening is enabled, the prototype will start reading out loud whatever speech the incoming voice command contains.