The Bach Doodle: Approachable music composition with machine learning at scale

07/14/2019
by   Cheng-Zhi Anna Huang, et al.
6

To make music composition more approachable, we designed the first AI-powered Google Doodle, the Bach Doodle, where users can create their own melody and have it harmonized by a machine learning model Coconet (Huang et al., 2017) in the style of Bach. For users to input melodies, we designed a simplified sheet-music based interface. To support an interactive experience at scale, we re-implemented Coconet in TensorFlow.js (Smilkov et al., 2019) to run in the browser and reduced its runtime from 40s to 2s by adopting dilated depth-wise separable convolutions and fusing operations. We also reduced the model download size to approximately 400KB through post-training weight quantization. We calibrated a speed test based on partial model evaluation time to determine if the harmonization request should be performed locally or sent to remote TPU servers. In three days, people spent 350 years worth of time playing with the Bach Doodle, and Coconet received more than 55 million queries. Users could choose to rate their compositions and contribute them to a public dataset, which we are releasing with this paper. We hope that the community finds this dataset useful for applications ranging from ethnomusicological studies, to music education, to improving machine learning models.

READ FULL TEXT

page 2

page 6

research
03/18/2019

Counterpoint by Convolution

Machine learning models of music typically break up the task of composit...
research
08/11/2023

An Autoethnographic Exploration of XAI in Algorithmic Composition

Machine Learning models are capable of generating complex music across a...
research
05/04/2023

Making Sense of Machine Learning: Integrating Youth's Conceptual, Creative, and Critical Understandings of AI

Understanding how youth make sense of machine learning and how learning ...
research
11/01/2021

Learning To Generate Piano Music With Sustain Pedals

Recent years have witnessed a growing interest in research related to th...
research
12/31/2018

The Music Streaming Sessions Dataset

At the core of many important machine learning problems faced by online ...
research
12/03/2021

Malakai: Music That Adapts to the Shape of Emotions

The advent of ML music models such as Google Magenta's MusicVAE now allo...
research
01/19/2021

A framework to compare music generative models using automatic evaluation metrics extended to rhythm

To train a machine learning model is necessary to take numerous decision...

Please sign up or login with your details

Forgot password? Click here to reset