Tech Robot — A voice generated alexa skill flash briefing

Digital Royalty
Feb 17, 2018 · 2 min read

For our first project, we wanted to try to automate as much the process of having a flash briefing in alexa, with custom news and generated voice, and we wanted to do it in 1 week.

We call it Tech Robot, here is the skill for US Alexa (there are also UK, India, Canada, Australia versions) users: https://www.amazon.com/Tiago-Henriques-TechRobot/dp/B079R76HGH/ref=sr_1_1?s=digital-skills&ie=UTF8&qid=1518825239&sr=1-1&keywords=techrobot&dpID=61iaWhbzCzL&preST=_SY300_QL70_&dpSrc=srch

The overall architecture/pipeline looks as follows:

Image for post
Image for post
Our alexa skill backend architecture

Everything starts with a cronjob that runs everyday at 1AM, It will connect to an RSS feed collect some news from external sources. After correctly collecting some news from the feed, it will parse it to make sure the text goes correctly into the next phase.

If everything looks well here, we inject this text into an implementation of google’s Tacotron (we can’t wait for an implementation of Tacotron 2, looking at the voices generated it sounds beautiful compared to our current quality.)

Tacotron will then generate multiple mp3 files with the different news, and then unify it with the jingle that is between the different news.

The bot pipeline then posts this .mp3 file onto S3 and also creates a markdown post that will in turn be used in the RSS feed, and push these changes into github as you can see here : https://github.com/digitalroyalty/digitalroyalty.github.io

One interesting aspect we observed during this project was the evolution of training a voice with Tacotron. Here are multiple samples from across time and the last one is the direct .mp3 file for the news from today:

First sample

Second sample

Third sample

Final episode

Try out our skill, give us feedback, share with your friends. We had a lot of fun putting this together and will definetely build more Alexa skills in the future.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store