Text-to-Speech

Note

image_3rd_party “Text-to-Speech” is jointly developed by RTKSG SD3 and ChungYi Fu (Kaohsiung, Taiwan)

image_ameba_iot Special thanks and credits to the efforts and contributions for all developers.

Materials

Example

In this example, we will be using development board to demonstrate text-to-speech application via Google Translate API.

Open Text-to-Speech example in File -> Examples -> AmebaNN -> MultimediaAI -> Text-to-Speech

../../_images/image015.png

In the highlighted code snippet, fill in the “ssid” with your WiFi network SSID and “pass” with the network password.

../../_images/image025.png

Please replace message with your speech text. You may also change the audio language accordingly. Please refer to the table below for language codes.

../../_images/image034.png

Language Codes

Language

Code

English (US)

en

English (UK)

en-GB

Chinese (Taiwan)

zh-TW

Chinese (PRC)

zh-CN

Japanese

ja

Korean

ko

French

fr

German

de

Italian

it

Russian

ru

Spanish

es

Resources