Artificial Intelligence Writes a Piece in the Style of Bach: Can You Tell the Difference Between JS Bach and AI Bach?

This week, the artificial intelligence community Botnik published a 2018 Coachella Lineup poster composed entirely of performer names generated by neural networks. It does get one wondering what the music of “Lil Hack,” “House of the Gavins,” or “Paper Cop” might sound like — or, given the direction of technology these days, how long it will take before another neural network can actually compose it. But why use AI to create yet another millennial-minded Coachella act, you might ask, when it could create another Johann Sebastian Bach?

“One form of music that Bach excelled in was a type of polyphonic hymn known as a chorale cantata,” says the MIT Technology Review. “The composer starts with a well-known tune which is sung by the soprano and then composes three harmonies sung by the alto, tenor, and bass voices.” Such compositions “have attracted computer scientists because the process of producing them is step-like and algorithmic. But doing this well is also hard because of the delicate interplay between harmony and melody.” Hence the fascination of the question of whether a computer could ever compose a truly Bach-like chorale.

The video at the top of the post offers a listening experience that points toward an answer. The minute-long piece you hear, and whose score you see, comes not from Bach himself, nor from any human Bach imitator, but from a neural network called DeepBach, a system developed by Gaetan Hadjeres and Francois Pachet at the Sony Computer Science Laboratories in Paris.

Like any such deep learning system, the more existing material it has to “learn” from, the more convincing a product it can produce on its own: just as Botnik’s network could learn from all the band names featured on Coachella posters since 1999, DeepBach could learn from the more than 300 short chorale compositions the real Bach wrote in his lifetime.

“About half the time,” says the MIT Technology Review, “these compositions fool human experts into thinking they were actually written by Bach.” But of course, this sort of artificial intelligence has a greater and more diverse potential than tricking its listeners, as other experiments at Sony CSL-Paris suggest: the AI-composed “Beatles” song “Daddy’s Car,” for instance, or the “Flow Machine” that re-interprets Beethoven’s “Ode to Joy” in the style of the Beatles, Take 6, and even electronic lounge music. But we won’t know the technology has matured until the day we find ourselves booking tickets for artificial intelligence-composed music festivals.

via  MIT Technology Review

Related Content:

Artificial Intelligence Program Tries to Write a Beatles Song: Listen to “Daddy’s Car”

Artificial Intelligence Creativity Machine Learns to Play Beethoven in the Style of The Beatles’ “Penny Lane”

Hear What Music Sounds Like When It’s Created by Synthesizers Made with Artificial Intelligence

Google Launches Free Course on Deep Learning: The Science of Teaching Computers How to Teach Themselves

Neural Networks for Machine Learning: A Free Online Course

Based in Seoul, Colin Marshall writes and broadcasts on cities and culture. His projects include the book The Stateless City: a Walk through 21st-Century Los Angeles and the video series The City in Cinema. Follow him on Twitter at @colinmarshall or on Facebook.

by | Permalink | Comments (5) |

Support Open Culture

We’re hoping to rely on our loyal readers rather than erratic ads. To support Open Culture’s educational mission, please consider making a donation. We accept PayPal, Venmo (@openculture), Patreon and Crypto! Please find all options here. We thank you!

Comments (5)
You can skip to the end and leave a response. Pinging is currently not allowed.
  • AbstractJak says:

    I could tell it was AI Bach by the end of the first phrase. Why? See “Blink” by Malcom Gladwell.
    Hi Colin! Years ago, at UCSB, we did a radio interview about my upcoming concert in “The Hub.” The piece was “RedBlack.” It is good to see how well you’ve done for yourself. Peace. Ron.

  • Justine Cullinan says:

    It is soulless. Bach’s estate need not worry, but can the bot be sued for plagiarization?

  • David Franks says:

    Well, damn. Crossed voices, parallel octaves, parallel fifths, an odd mode change in the first cadence, an anomalous III+⁶ to i cadence (apparently even the players thought it sounded wrong), an incorrectly resolved seventh, a tritone leap.

    Perhaps the AI will do a better job once it knows the rules of Baroque common practice, which are derived from sources such as the chorales of J.S. Bach. As it is, he never would have let anybody see this chorale, even if one of his second-semester theory students had written it. It’s a nice tune, and I look forward to seeing and hearing a better setting of it..

    Is DeepBach good at crossword puzzles?

  • Jeff Harvick says:

    First two chords. Bach would never go V to IV, and would never have a tritone leap in the tenor. Nice try though.

  • Max says:

    I was also amused at how terrible the voice leading was. Glad to see I’m not alone!

Leave a Reply

Open Culture was founded by Dan Colman.