OK computer: When pop music meets machine learning

It’s Moogfest season here in Durham, so there’s been a lot of the discussion in the office around music, data lakes, and the heat map we’re building for the festival. But the conversation took a different turn, thanks to a tweet.

Many months ago when I was at IBM Insight, I tweeted a snide remark about computer-generated jokes. Fast-forward to this week, when former “Monk” and Letterman writer Joe Toplyn responded with a link “proving” that computers could generate jokes that were funny … at least to the easily amused. Amid the discussion, someone drove by playing crappy autotune pop music.

This got me thinking about whether you could generate hit pop songs. Most of the popular songs are written by two middle-aged guys from Sweden anyhow. Plus, there are algorithms that can detect which songs are likely to be a hit. While the current hit song generator is simply song titles with performers, we also have an algorithm that can generate tweets for the presumptive Republican presidential nominee. It seems like a short trip to get from hit detector to factory songwriting to neural net for political speech to full-on pop song generator!

We’d need parameters like a genre (pop, hip-hop, dance) and probably gender, as well as whether it’s a party track, a love song, happy, sad, angry, and so on. Then maybe we’d train a neural net on the corpus of songs by the two Swedes. Add that to an adaptation of the hit detection algorithm and you should have not a great song, but at the very least a popular one.