This example is an expanded version of Play MP3 stream from AWS Polly to include a web page where the text to be played and the voice to be used can be entered. The goal of this example is to show how to use Audio Pipeline to play audio generated from text by Amazon Polly service.
ESP32-LyraT | ESP32-LyraT-MSC |
---|---|
Prepare the audio board:
- Connect speakers or headphones to the board.
Configure the example:
- Select compatible audio board in
menuconfig
>Audio HAL
- Set up the Wi-Fi connection by running
menuconfig
>Example Configuration
and filling inWiFi SSID
andWiFi Password
. - Under the same menu provide
AWS_ACCESS_KEY
andAWS_SECRET_KEY
Prepare the SD card.
- create a folder named 'www'.
- copy the files in the 'www' folder to the SD card's 'www' folder.
Load and run the example.
For more details on how to use the Amazon Polly service you can refer to Getting Started with Amazon Polly