Skip to content

allenck/play_aws_polly_mp3

Repository files navigation

Play MP3 stream from AWS Polly

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.

Compatibility

ESP32-LyraT ESP32-LyraT-MSC
alt text alt text
alt text alt text

Usage

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 in WiFi SSID and WiFi Password.
  • Under the same menu provide AWS_ACCESS_KEY and AWS_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