Deep learning robot writes music

Article By : Georgia Institute of Technology

Beyond giving the robot the first four measures as a starting point, no humans are involved in its composition or four-armed musical performance.

A Marimba-playing robot developed at the Georgia Institute of Technology is capable of writing and playing its own compositions using artificial intelligence and deep learning.

Ph.D. student Mason Bretan is the man behind the machine called Shimon. He’s worked with Shimon for seven years, enabling it to “listen” to music played by humans and improvise over pre-composed chord progressions. Now Shimon is a solo composer for the first time, generating the melody and harmonic structure on its own.

Researchers fed the robot nearly 5,000 complete songs—from Beethoven to the Beatles to Lady Gaga to Miles Davis—and more than 2 million motifs, riffs and licks of music. Aside from giving the machine a seed, or the first four measures to use as a starting point, no humans are involved in either the composition or the performance of the music.

“Once Shimon learns the four measures we provide, it creates its own sequence of concepts and composes its own piece,” said Bretan. “Shimon’s compositions represent how music sounds and looks when a robot uses deep neural networks to learn everything it knows about music from millions of human-made segments.”

Bretan says this is the first time a robot has used deep learning to create music. And unlike its days of improvising, when it played monophonically, Shimon is able to play harmonies and chords. It’s also thinking much more like a human musician, focusing less on the next note, as it did before, and more on the overall structure of the composition.

“When we play or listen to music, we don’t think about the next note and only that next note,” said Bretan. “An artist has a bigger idea of what he or she is trying to achieve within the next few measures or later in the piece. Shimon is now coming up with higher-level musical semantics. Rather than thinking note by note, it has a larger idea of what it wants to play as a whole.”

Shimon was created by Bretan’s advisor, Gil Weinberg, director of Georgia Tech’s Center for Music Technology.

“This is a leap in Shimon’s musical quality because it’s using deep learning to create a more structured and coherent composition,” said Weinberg, a professor in the School of Music. “We want to explore whether robots could become musically creative and generate new music that we humans could find beautiful, inspiring and strange.”

Shimon will create more pieces in the future. As long as the researchers feed it a different seed, the robot will produce something different each time—music that the researchers can’t predict. In the first piece, Bretan fed Shimon a melody comprised of eighth notes. It received a sixteenth note melody the second time, which influenced it to generate faster note sequences.

Bretan acknowledges that he can’t pick out individual songs that Shimon is referencing, but he is able to recognise classical chord progression and influences of artists, such as Mozart, for example.

“They sound like a fusion of jazz and classical,” said Bretan, who plays the keyboards and guitar in his free time. “I definitely hear more classical, especially in the harmony. But then I hear chromatic moving steps in the first piece—that’s definitely something you hear in jazz.”

Leave a comment