AWS Polly is a service from Amazon that turns text into speech. Its very simple to use and produces high quality audio files very quickly. Building voice enabled applications is now really easy and simple. Its great for all types of applications such as games, chatbots and learning. At Easyblog.org we use it for converting comments and other text into audio files for children to listen to. This type of accessibility feature can really help young children, especially those with learning or other challenges in their life.
Lets take a quick look into how you can integrate AWS Polly into a website. We will store the mp3 file in S3 and retrieve it for playback on a website.
We will then take this a step further and integrate it into an html webpage that submits the text to polly via JQuery Ajax and plays the result.