
In leisure time, when travelling, in the office or during sport you can now also “read”, without having to stare at a computer screen or paper.
Text to speech voices free#
Tip: Feel free to try different inputs for TTS! Text Input supports text in English only. The WeatherCondition and City will change based on the location and weather information. Here we are using Dynamic Text as the text input. We can see here the text input is “Hello there! Now it is WeatherCondition in City!”.

In the Objects panel, click on the Orthographic Camera -> Greeting UI -> TTS Input Text. In addition, we will animate the text based on the timing details for word pronunciation. In this example, we can generate Text To Speech Audio from a Screen Text Object. Now let’s take a look at the greeting example. The preview text will automatically be spoken on Lens start. You can preview TTS voice by enabling the Preview TTS checkbox and filling in the Preview Text. TTS supports six voice styles for Sasha and one voice style for Sam. With TTS Controller, you can choose different options for TTS Voice: Voice Name, Voice Style and Voice Pace. For more information related to Audio Component, please check out Audio Component and Audio Component API. Tip: TTS will generate TTS AudioTrackAsset, which can be attached to an Audio Component as the Audio Track asset to play. We attach the Text To Speech Module and an Audio Component to the TTSController Script Component for generating and playing TTS Audio in Lens Studio.

The Text To Speech is driven by the main helper script TTSController under the TTS Controller object. Note: Currently TTS supports US English with two voices, six different voice styles for one of the voices and the ability to tweak the pace of TTS speech playback.

The main asset used for Text To Speech is Text To Speech Module. When we open the template, we can find the examples in the Objects panel.
Text to speech voices how to#
The template has two different examples shows how to use Text To Speech:

The template contains several helpers that you can use to create text to speech experiences. The Text To Speech template demonstrates how you can use the Text To Speech in the Lenses.
