From Mozart to Botzart: when machines write our music

July 6, 2017
Credit: CC0 Public Domain

Machines are already taking our jobs, will they soon be writing our music too?

Swiss researchers said Thursday they have developed a computer algorithm that can generate brand-new tunes in different musical genres.

The deep artificial composer, or DAC, "can produce complete melodies, with a beginning and an end, that are completely original," said co-developer Florian Colombo of the EPFL research university in Lausanne, Switzerland.

And the melodies are "quite agreeable to listen to," he told AFP.

The DAC programme uses a form of artificial intelligence known as "deep learning" that works in a similar way to the human brain in memorising experiences and learning from them.

It is a fast-growing field, with more and more possibilities opening up as computers grow stronger and databases larger.

The DAC system is trained to "listen" to existing tunes to learn what works and what does not.

It teaches itself to predict the pitch and duration of every note following another.

Once it is accurate at predicting 50 percent of note pitches and 80 percent of note durations in existing songs, the machine's training is complete.

Then starts the creation.

"The deep artificial composer builds a string of notes from beginning to end, including the very first note," said an EPFL statement.

It picks a follow-up note for each note played, based on the range of probabilities it memorised.

But the programme is taught not to pick the single-most probable note—rather one of the many between least and most probable.

Cannot fool them

"An algorithm that always opts for most probable note will just keep repeating the same thing," said Colombo.

Instead, the programme was designed to produce "an infinity of different tunes".

It may be versatile, but the DAC is no Mozart.

Experts asked to listen to DAC- and human-composed melodies can still tell the difference.

"It will be a while before an algorithm will fool connoisseurs of Irish folk music," said Colombo.

The researchers tested their programme on Irish and Ashkenazi Jewish folk music. The DAC was able to identify the genre, and avoid mixing the two.

Any musical style can be used, said the team.

For the moment, the DAC is limited to single-instrument compositions. Eventually, its developers hope it will create a full orchestra score.

The goal, however, is not to replace flesh-and-blood human composers.

"It is more a tool that can be used to stimulate creativity, to aid the process of composing" in periods of writer's block, said Colombo.

He cited Mozart, who is rumoured to have thrown dice to pick notes.

DAC-composed music may eventually be used for jingles, but probably never as "serious ," said Colombo.

"A good composer, with innovative ideas, will never be supplanted by an algorithm," he said.

"A puts something of himself in what he creates, and that a machine cannot do."

Several companies, including Google, Sony and IBM are working on similar projects.

Explore further: Robot uses deep learning and big data to write and play its own music

Related Stories

From bleeps of 'Pong' and 'Mario,' game music comes of age

June 15, 2017

The electronic bleeps and squawks of "Tetris," ''Donkey Kong" and other generation-shaping games that you may never have thought of as musical are increasingly likely to be playing at a philharmonic concert hall near you.

Musical melodies obey same laws as foraging animals

January 8, 2016

(Phys.org)—Most people think of music as more of an art than a science. Although sound is a wave, and can therefore be described by the laws of physics, understanding how certain patterns of sound waves create what we perceive ...

Recommended for you

Forget oil, Russia goes crazy for cryptocurrency

August 16, 2017

Standing in a warehouse in a Moscow suburb, Dmitry Marinichev tries to speak over the deafening hum of hundreds of computers stacked on shelves hard at work mining for crypto money.

Researchers clarify mystery about proposed battery material

August 15, 2017

Battery researchers agree that one of the most promising possibilities for future battery technology is the lithium-air (or lithium-oxygen) battery, which could provide three times as much power for a given weight as today's ...

Signs of distracted driving—pounding heart, sweaty nose

August 15, 2017

Distracted driving—texting or absent-mindedness—claims thousands of lives a year. Researchers from the University of Houston and the Texas A&M Transportation Institute have produced an extensive dataset examining how ...

1 comment

Adjust slider to filter visible comments by rank

Display comments: newest first

NIPSZX
not rated yet Jul 06, 2017
Not sure about this, dubstep got old rather quickly.

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.