I wanted to play around with AWS Polly, which is a service that converts text into speech for you. What better way to test this out than with an "Old MacDonald Had A Farm" song generator. But first, I needed to do some research. Song Variations There are actually many different ways to sing this song. I spent a few minutes listening to various versions and here are some important differences I discovered: The list of animals is different every time. The Wiggles version shortens the previous animal sounds so there is no "here a woof, there a woof, everywhere a woof woof". They simple sing "woof woof here, woof woof there". The previous animal sounds can either be in order, reversed or left out entirely. Generator Program The code to generate the lyrics is quite simple. I have it uploaded on Github . For every animal in the given list of animal names/sounds, it writes a verse. Each verse has a intro lines ("Old MacDonald had a f...
Tackling life’s serious issues with engineering












Comments
Post a Comment