# Text to Speech

{% embed url="<https://youtu.be/rqpjqHXW-_E>" %}

## Properties

`Default Language`: Set component to recognize text and speak in this language. Can be changed in blocks.

## Blocks

### Functions

#### Speak

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MYdcMiE2os6DrmoObu5%2F-MYdctke9e940jxlmDKs%2FScreen%20Shot%202021-04-19%20at%2011.18.33%20AM.png?alt=media\&token=5b3d8c00-f7cd-4f82-b472-c666c9416769)

Read text aloud in the specified language

#### Stop

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MYdcMiE2os6DrmoObu5%2F-MYdd0pYcH4Fou-EGBJY%2FScreen%20Shot%202021-04-19%20at%2011.19.06%20AM.png?alt=media\&token=36514dd7-653f-4769-9613-a000cc5a782d)

Stop Speaking. Can be used with a [Button](https://docs.thunkable.com/snap-to-place/button) to create a stop button.

### Properties

#### Set Default Language

Set default language to item from drop-down menu. Can also use [Text](https://docs.thunkable.com/snap-to-place/text) block or [variable](https://docs.thunkable.com/snap-to-place/variables) to set language.

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MYdcMiE2os6DrmoObu5%2F-MYddFGIIw95CQy66gFR%2FScreen%20Shot%202021-04-19%20at%2011.20.03%20AM.png?alt=media\&token=eccd70d8-3803-4cc4-89ec-f04459070b88)

#### Get Default Language

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MYdcMiE2os6DrmoObu5%2F-MYddT1Ap4guVUsoc3OZ%2FScreen%20Shot%202021-04-19%20at%2011.21.01%20AM.png?alt=media\&token=52dc3378-f1b9-4e42-aafd-6b6136c237f4)

Returns current language of Text to Speech component.
