Google Creates First AI Doodle for Bach’s Birthday

Google
Google / Google
facebooktwitterreddit

Although there’s some debate about Johann Sebastian Bach’s exact birth date, today is roughly the 334th anniversary of the famous composer’s birth. In celebration of Bach’s contributions to a genre that would later be called classical music, Google created a Doodle that lets users create a song in Bach’s signature style.

Google has created musical Doodles before, but what sets this one apart is that it’s the first-ever Doodle powered by artificial intelligence, according to Newsweek. In this case, users create a simple melody by choosing their preferred notes on a musical staff, then increasing or decreasing the pace (measured in beats per minute, or BPM) or changing the key, if desired. Once satisfied, all they have to do is hit the “harmonize” button and let AI create a more sophisticated tune.

Fortunately for Google, there was a lot of material to draw from. Bach was a busy man, creating more than 1100 compositions in his lifetime (while also finding time to father 20 children). However, for this Doodle, a machine-learning model called Coconet was fed a portion of his oeuvre—306 harmonies in total. In addition to being trained to recognize the musical patterns in Bach's work, the model is also capable of creating harmonies, smooth transitions, and compositions from scratch.

“So when you create a melody of your own on the model in the Doodle, it harmonizes that melody in Bach's specific style,” Google explained in a statement. And just for fun, there’s a feature that lets you hear what the harmony would sound like in a modern rock style.

For a behind-the-scenes look of how the Bach Doodle was made, from both an artistic and technical perspective, check out Google’s video below.

[h/t Newsweek]