Home Page

Marching Band
Melodies on Parade

What Does It Take to Identify a Tune?

Everyone has had the experience of hearing a few notes of a song and almost immediately identifying that tune. This website, through project Skiptune, attempts to answer the question, “What makes a tune unique?” Every melody must have some series of notes that does not appear in any other tune or melody–otherwise it would be a repeat of that other tune. Another way of posing the question is, “What’s the minimum series of notes in a tune needed to identify that tune as different from all other tunes?”

It’s obvious that you need at least two notes. What’s surprising is that after 66,000 melodies have been entered, roughly two percent of the tunes in the database only need two consecutive notes to identify them. We have found around 1,300 tunes out of 66,000 that can be distinguished from all other tunes by a pattern of just two consecutive notes. For instance, The House of the Rising Sun, a familiar song to most people, has such a pair. Using the lyrics used by the Animals, sing the song to yourself:

The notes encircled in red are found in no other tune in the database.

There is a house in New Orleans
They call the Rising Sun
And it’s been the ruin of many a poor boy
And God, I know, I’m one.

In the snippet of the tune to the left, the word “sun” is sung to a dotted half note tied to a dotted quarter note tied to a quarter note of pitch E. The word “and” after “sun” is sung to a sixteenth note of pitch A. That series of notes cannot be found in any other tune in our database, no matter what key it is in. In Skiptune’s shorthand parlance, that pattern is represented by the tuple [5, 0.045], which is a much shorter way of saying “the second note in the series is 5 pitches higher than the first note, and it is 4.5 percent of the length of the first note.”

Composers shouldn’t think too much–it interferes with their plagiarism.

Howard Dietz

If you’re intrigued by the statement that this simple pair is unique, or if you see problems with the statement, such as that particular pair is an unusual accident of the way the House of the Rising Sun was written down, then you might be intrigued by what you’ll find in this website. For instance, another unique pair of notes pops up in one of the variations of The House of the Rising Sun, which you can discover on our Surprisingly Rare Patterns by searching for ‘house’.  What is it about that tune that gives it that quality?  Are there other tunes like it? If you find these questions intriguing, explore and continue the journey with us.

What Good Is All This?

While there are some strong academic reasons to care about this work, especially with respect to how composers use patterns to create songs, there are some practical uses as well.  Here are a few examples:

  1.  Generating Music.  Artificial intelligence (AI) requires data to train on.  The Skiptune project treats music, specifically melodies, as just data.  A lot of data is needed to train an AI model, and we are still entering tunes into the database to achieve the critical mass necessary to train an AI model.  The goal is to use AI to create new melodies that build on the amazing human achievement that is music.  Unlike most large language models that can result in plagiarized generated results, the AI model we are creating will be guaranteed to produce a tune that has not been written yet.  Some patterns of notes are used over and over again by many composers.  These patterns may be codified in a way that will allow computer-generated music that sounds more human than attempts so far.  
  2. Assisting Composers.  Composers are like novelists or other writers in that they occasionally find themselves having written into a corner.  They may have written a partial melody only to find that they have nowhere to go.  That may be because they have written beyond where other composers have gone in a particular melodic line.  The Skiptune database will eventually allow composers to enter their melody one note at a time and find what paths other composers had taken from each point (note) of the melody.  By backing up to just before his/her tune is unique–that is, to the point where no one else had written those notes before–the composer can see where other composers had gone with the tune and either choose a path already taken by another composer or select a different branch no one has gone down before.  Experimenting a bit, the composer can avoid writing him/herself into a corner.
  3. Ensuring a Song is Unique.  By comparing a newly composed melody against those in the database, one can learn whether a new composition is a new creation or not.  The other side of the coin is that the Skiptune database could provide litigants with hard data to argue their cases in court when there is contention over who wrote a particular melody first.  It may be that the notes or major parts of the melody have already been written in the distant past in some obscure song in the public domain.
  4.  Identifying Musical Works.  It will be possible to use the Skiptune database to examine a particular historical musical piece whose author is in question and determine if the patterns used are similar enough to a particular composer’s known patterns, or to his/her era, to identify the true composer, or at least eliminate specific composers.

Where Do I Start?

The Skiptune project is complex and can be overwhelming at first.  We suggest you start by looking at the FAQ page, followed by the Music Metrics page, using the Definitions page as needed to understand the terms used on this website.  Once you have a feel for the way we categorize and compare musical patterns, you should look at the Example page to see the metrics in action on a simple tune.  Follow that with Surprisingly Rare Patterns, which lists those patterns that would seem to be common, but are not.  The rest of the website can be explored serendipitously.

© Skiptune 2014

Patent Notice:  The algorithm we use to determine the uniqueness of a tune (identifying the sequence of notes that uniquely identifies a tune from all other tunes in the database) is protected under U.S. Patent 9,263,013 B2 and U.S. Patent 9,454,948 B2.