Text-to-Speech NTP

Materials

Example

In this example, we will be using development board to demonstrate audio time and date report using NTP Client and Google Translate API.

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

../../_images/image0111.png

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

../../_images/image0211.png

The default message is set for date reporting. You may modify the message according to NTP Client API for time reporting.

../../_images/image0310.png

Compile and upload the code . Please refer to the table below for language codes.

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