Skip to main content
Move the World.
melodies

Lead Image © Spencer Imbrock / Unsplash

A pair of musicians created an algorithm they hope will end a legal nightmare for musicians: the unintentional use of copywritten melodies.

Melodies are the sequences of notes that form the backbone of most popular music — they're the snippets of a song that get stuck in your head, for better or for worse.

As soon as a musician records a melody or jots it down as sheet music, they legally own it and have the right to sue anyone who uses the melody without permission for copyright infringement.

It doesn't even matter if the second musician consciously knows that they have copied the melody — they can still be forced to pay money to the melody's original author, something Katy Perry, George Harrison, and a slew of other musicians have all found out the hard way.

Minefield of Melodies

Part of the problem with this setup is that there are only so many notes in music, meaning there is a finite number of melodies.

The number of possible melodies within the range of notes favored by pop musicians — those in the octave above middle C — is even smaller.

Meanwhile, the advent of platforms like Soundcloud has resulted in a dramatic increase in the number of songs potentially containing those melodies.

As a result, musicians are being forced to tip-toe through a minefield of possible copyright violations while writing music — all they can do is hope they don't step on a melody that someone else has already recorded, lest it land them in court.

The Sound of Computer Science

To address this problem, musicians Damien Riehl and Noah Rubin came up with a radical idea: record every possible melody within the pop music range and then release it into the public domain.

The algorithm operated at a speed of 300,000 melodies per second.

To that end, the duo — who are also, respectively, a copyright attorney and a computer programmer — built an algorithm that could write every possible 12-beat melody in the middle C octave in MIDI, the protocol computers use to read music.

By the time the algorithm finished, it had written more than 68 billion melodies — at a speed of 300,000 melodies per second.

By simply saving the melodies onto a hard drive, the duo fulfilled the requirement needed to copyright them. After that, they released the melodies into the public domain, creating a website where anyone who wants the melodies can download them for free.

Copyright Loophole

As Riehl pointed out in a recent TEDx Talk on the project, the whole thing could be a violation of copyright laws in and of itself — after all, some of the melodies produced by the algorithm had already been recorded by other artists.

The choice of MIDI for the project, however, might provide a loophole that gets around that — and possibly even usher in an end to litigation over copyrighted melodies altogether.

The key to this is the fact that MIDI records music as numbers — a melody comprising the notes CBABC, for example, reads 12321 in MIDI — and numbers aren't copyrightable the same way sounds are.

"Under the copyright laws, numbers are facts, and under copyright law, facts either have thin copyright — almost no copyright — or no copyright at all," Riehl said in his TEDx Talk. "So maybe if these numbers have existed since the beginning of time, and we're just plucking them out, maybe melodies are just math, which is just facts, which maybe are not copyrightable."

"Maybe if somebody is suing over a melody alone — not lyrics, not recordings — but just the melody alone, maybe those cases go away," he continued. "Maybe they get dismissed."

Up Next

Tech & The Arts
The Algorithm Playwright
The Algorithm Playwright
Tech & The Arts
The Algorithm Playwright
Annie Dorsen allows algorithms to write her plays, and it challenges our fundamental understanding of art.

Annie Dorsen allows algorithms to write her plays, and it challenges our fundamental understanding of art.

Music
Chance the Rapper is Bringing Music Back to Chicago Schools
Chance the Rapper is Bringing Music Back to Chicago Schools
Music
Chance the Rapper is Bringing Music Back to Chicago Schools
On the far South Side of Chicago, as far south as you can get — a traffic light away from neighboring Riverdale —...

On the far South Side of Chicago, as far south as you can get — a traffic light away from neighboring Riverdale — the Ira F. Aldridge Elementary School is offering its students something rare in the forever-strapped Chicago public school system: opportunity. With a grant from Chance the Rapper's charity SocialWorks, the school can now offer a more robust music program, ensuring an instrument in every student's hands. "I...

The Sound of Science
This Musician Transforms Scientific Data Into Elaborate Melodies
This Musician Transforms Scientific Data Into Elaborate Melodies
The Sound of Science
This Musician Transforms Scientific Data Into Elaborate Melodies
When we convert complex data into sound and listen to it, quite often what emerges is something we can understand through sound, even though we could never understand it visually.

If you think staring at rows of numbers and graphs seems humdrum, these musicians agree. They are on a mission to expose new scientific information through sound, by turning flat datasets into musical scores --- creating the soundtrack for science: Listen to Mark Ballora’s sonification of singularity with flutes and electronics: Jenni Evans first met Mark Ballora at a Penn State social gathering. Both were professors at...

The Sound of Science
This Electronic Musician Is Transforming the Soundscape of Hospitals
This Electronic Musician Is Transforming the Soundscape of Hospitals
The Sound of Science
This Electronic Musician Is Transforming the Soundscape of Hospitals
Trained as a classical pianist, ambient artist Yoko Sen is on a mission to redesign medical devices' beeps and buzzes and save us from alarm fatigue.

Trained as a classical pianist, ambient artist Yoko Sen is on a mission to redesign medical devices' beeps and buzzes and save us from alarm fatigue.

Dispatches
Two Billion People Have TB. What Should We Do about It?
Two Billion People Have TB. What Should We Do about It?
Dispatches
Two Billion People Have TB. What Should We Do about It?
In the fight against TB, sometimes it's better to just get along.

In the fight against TB, sometimes it's better to just get along.

On The Fringe
Growing Human Organs in Pigs
Growing Human Organs in Pigs
Watch Now
On The Fringe
Growing Human Organs in Pigs
Twenty people die every day in the U.S. waiting for an organ transplant. There aren’t enough organs for the 100,000...
Watch Now

Twenty people die every day in the U.S. waiting for an organ transplant. There aren’t enough organs for the 100,000 people waiting for one. And there likely never will be… unless we can find a better way to source them. Enter: the pigs. A team of scientists has figured out how to grow human organs in pigs. It might make you feel weird. But it also might save countless lives.

Wrong
The Y2K Bug is Going to Bite!
The Y2K Bug is Going to Bite!
Watch Now
Wrong
The Y2K Bug is Going to Bite!
Did we narrowly avoid the apocalypse because of some world-saving last minute de-bugging.
Watch Now

In the months and days leading up to the year 2000, many grew alarmed that a computer bug would collapse networks and bring down economies and global stability in its wake. Did we narrowly avoid the apocalypse because of some world-saving last minute de-bugging? Or was the worldwide panic just way off base?

Superhuman
Gaining Independence with the World's Most Advanced Prosthetic Arm
Gaining Independence with the World's Most Advanced Prosthetic Arm
Watch Now
Superhuman
Gaining Independence with the World's Most Advanced Prosthetic Arm
Jerral was hit by a roadside bomb in Iraq and left paralyzed. Now he's partnering with researchers to regain his independence. »
Watch Now

Jerral was serving in Iraq, his tank was hit by a roadside bomb. The attack left him paralyzed and without his left arm. But rather than letting his injuries define him, Jerral is fighting back with the help of the world’s most advanced prosthetic arm. He’s working with a team of researchers from Johns Hopkins to test the arm that could help Jerral and many other wounded vets like him take back their independence.

Superhuman
Robotic Wheelchair Revolution
Robotic Wheelchair Revolution
Watch Now
Superhuman
Robotic Wheelchair Revolution
Part Wheelchair. Part Robot. Is this the future of accessibility?
Watch Now

How Rory Cooper Built the Custom Wheelchair When people think about using wheelchairs, they probably don’t envision a custom design. Instead, they picture a bulky frame, handicap ramps, special vans for transportation with archaic wheelchair lifts, and a design out of the past. The sad truth is wheelchair technology has changed very little in the last 200 years. And over time, these dated designs can cause physical injury...