Happy birthday Bach

I love this Google Doodle, though even Bach can’t rescue my appalling lack of musical ability!

Google’s first AI-powered Doodle is a piano duet with Bach
Starting on March 21st, you’ll be able to play with the interactive Doodle, which will prompt you to compose a two-measure melody or pick one of the pre-existing choices. When you press the “Harmonize” button, it will use machine learning to give you a version of your melody that sounds like it was composed by Bach himself.

happy-birthday-bach-1

Various Google teams were involved in this project, including Google Magenta. There is an incredible amount of detail about the technologies behind the Bach harmonies on their own site.

Coconet: the ML model behind today’s Bach Doodle
Coconet is trained to restore Bach’s music from fragments: we take a piece from Bach, randomly erase some notes, and ask the model to guess the missing notes from context. The result is a versatile model of counterpoint that accepts arbitrarily incomplete scores as input and works out complete scores. This setup covers a wide range of musical tasks, such as harmonizing melodies, creating smooth transitions, rewriting and elaborating existing music, and composing from scratch.

happy-birthday-bach-2

I cannot begin to understand what’s going on there, but it sounds good.

Author: Terry Madeley

Works with student data and enjoys reading about art, data, education and technology.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s