'Machine folk' music composed by AI shows technology's creative side

AI has also shown great ability in beating grand masters at chess and Go

Image via Shutterstock
Image via Shutterstock
Bob Sturm & Oded Ben-Tal | The Conversation
Last Updated : Apr 03 2017 | 8:57 AM IST

Don't want to miss the best from Business Standard?

Folk music is part of a rich cultural context that stretches back into the past, encompassing the real and the mythical, bound to the traditions of the culture in which it arises. Artificial intelligence, on the other hand, has no culture, no traditions. But it has shown great ability: beating grand masters at chess and Go, for example, or demonstrating uncanny wordplay skills when IBM Watson beat human competitors at Jeopardy. Could the power of AI be put to use to create music?

This is not entirely unprecedented: an artificial intelligence co-wrote a piece of musical theatre, from the storyline to the music and lyrics. It premiered in London in 2016. The advancement of AI techniques and ever-larger collections of data to use to train them presents broad opportunities for creative research. The AI co-wrote its musical based on an analysis of hundreds of other successful musicals, for example. There are other projects aimed at providing creators of art and music with new artificial intelligence-based tools for their craft, such as Google’s Magenta project, Sony’s Flow Machines, or British start-up Jukedeck. And long before those was The Illiac Suite, a string quartet programmatically composed by a supercomputer in 1957.

Our research examines how state-of-the art AI techniques can contribute to musical practice, specifically the Celtic folk tradition of “session music”. Enthusiasts transcribe versions of folk tunes using ABC, a reduced form of music notation developed by Chris Walshaw of the University of Greenwich, using text characters as a rough guide to the musician. We trained our AI system using more than 23,000 ABC transcriptions of folk music, crowd-sourced from the excellent online resource thesession.org. And at our recent workshop at the Inside Out festival we had accomplished folk musicians performing some of this “machine folk” music.

Set #1, featuring one tune written by AI and performed by Eimear McGeown, Tad Sargent, Daren Banarsë and Rob Webb.

Artificial compositions, human melodies

Our AI is trained so that given one ABC symbol it can predict the next, which means it can generate new tunes that draw upon patterns and structures learned from the original tunes. We have generated more than 100,000 new machine folk tunes, and it’s interesting to see what the AI has and has not learned. Many tunes have the typical structure of this style: two repeated parts of the same eight-bar length, that often complement each other musically. The AI also shows some ability to repeat and vary musical patterns in a way that is very characteristic of Celtic music. It was not programmed to do this with rules – it learned to do so because these patterns exist in the data we fed it.

However, unlike a human the system isn’t immediately able to generalise these properties beyond the immediate context. Much of what we originally thought the system learned about basic musical features (for example how rhythm works) in fact it hadn’t learned – it was simply able to reproduce those conventions. Venture slightly outside the conventions of the data and the system begins to act unusually. This is where things can get musically interesting:

Eight Short Outputs, a series of short pieces composed from “failures” of the algorithm.

To evaluate the AI’s compositions we consulted the experts: folk musicians. We asked for feedback on The Endless Traditional Music Session, and later about a volume of 3,000 tunes generated by our system. Feedback from members in the thesession.org forums shows divided opinions: some found the idea intriguing and identified “machine folk” tunes they liked and could work with. Others were dead against the entire notion of computer-generated music.

One obstacle was that not only was this music composed by computers, it was also played by computer synthesis, and so lacking the interpretation and expressivity of human musicians who bring each tune to life – elements not incorporated in the data the AI had trained on. So we recruited professional folk musicians and asked them to look at our volume of 3,000 tunes. One musician observed that about one in five tunes are actually fairly good.

Set #2, featuring one tune written by AI and performed by Eimear McGeown, Tad Sargent, Daren Banarsë and Rob Webb.

By their nature, folk tunes are less fixed in nature and are treated as a frame upon which to elaborate: performers develop their own version and change elements in performance. The musicians found interesting features and some patterns that are unusual but work well within the style. Perhaps there are regions of this musical space that humans have not yet discovered – and can be reached with the help of a machine.

Set #3, featuring one tune written by AI and performed by Eimear McGeown, Daren Banarsë and Rob Webb.

Much discussion around AI focuses on computers as competitors to humans. We seek to harness the same technology as a creative tool to enrich, not replace.



 

A concert, “Partnerships”, on May 23, 2017, will feature music co-created by humans and computers.

Bob Sturm, Lecturer in Digital Media, Queen Mary University of London and Oded Ben-Tal, Senior Lecturer in Music Technology, Kingston University

This article was originally published on The Conversation. Read the original article.

One subscription. Two world-class reads.

Already subscribed? Log in

Subscribe to read the full story →
*Subscribe to Business Standard digital and get complimentary access to The New York Times

Smart Quarterly

₹900

3 Months

₹300/Month

SAVE 25%

Smart Essential

₹2,700

1 Year

₹225/Month

SAVE 46%
*Complimentary New York Times access for the 2nd year will be given after 12 months

Super Saver

₹3,900

2 Years

₹162/Month

Subscribe

Renews automatically, cancel anytime

Here’s what’s included in our digital subscription plans

Exclusive premium stories online

  • Over 30 premium stories daily, handpicked by our editors

Complimentary Access to The New York Times

  • News, Games, Cooking, Audio, Wirecutter & The Athletic

Business Standard Epaper

  • Digital replica of our daily newspaper — with options to read, save, and share

Curated Newsletters

  • Insights on markets, finance, politics, tech, and more delivered to your inbox

Market Analysis & Investment Insights

  • In-depth market analysis & insights with access to The Smart Investor

Archives

  • Repository of articles and publications dating back to 1997

Ad-free Reading

  • Uninterrupted reading experience with no advertisements

Seamless Access Across All Devices

  • Access Business Standard across devices — mobile, tablet, or PC, via web or app

Next Story