The Transform Technology Summits start October 13th with Low-Code/No Code: Enabling Enterprise Agility. Register now!

A Google Doodle due out later today will use AI to let you create a melody in a style that mimics composer Johann Sebastian Bach. After you pick your key and the music is harmonized, the tune can be shared on Facebook or Twitter or downloaded as a Musical Instrument Digital Interface (MIDI) file. Users can also turn any classical melody they create into a harmonious rock song.

Doodles are drawings or interactive experiences shared on, often to celebrate noteworthy people or anniversaries of important events.

This is the first Doodle created with artificial intelligence and the first to use tensor processing units, a company spokesperson told VentureBeat in an email. The Doodle is served up with TensorFlow.js and will be available to play with for the first time at 9 p.m. Pacific Time later today and on for 48 hours.

The Bach Doodle is the product of Google’s Doodle team, its People and AI Research team (PAIR), and the open source Magenta project for making music using machine learning. A Magenta-powered Music Transformer was debuted last December.

To make the Doodle possible, the group trained CocoNet, a machine learning model that harmonizes music, using 306 of Bach’s chorale harmonizations.

“[Bach’s] chorales always have four voices, each carrying their own melodic line, while creating a rich harmonic progression when played together,” Google AI program manager Lauren Hannah-Murphy wrote in a blog post. “This concise structure makes them good training data for a machine learning model. So when you create a melody of your own on the model in the Doodle, it harmonizes that melody in Bach’s specific style.”

The Bach Doodle may be the first powered by AI, but it’s not the first tie-up between AI and the Doodle team, as Ryan Germick, principal designer on the Google Doodle team, also oversees the personality team for Google Assistant. That team helps decide how Google Assistant responds when you ask about its favorite color or its taste in music.

This is the latest in a long line of interactive Doodles. To play with a larger list of interactive Doodles, visit the Doodle Archive.


VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative technology and transact. Our site delivers essential information on data technologies and strategies to guide you as you lead your organizations. We invite you to become a member of our community, to access:
  • up-to-date information on the subjects of interest to you
  • our newsletters
  • gated thought-leader content and discounted access to our prized events, such as Transform 2021: Learn More
  • networking features, and more
Become a member