Musical melodies obey same laws as foraging animals

January 8, 2016 by Lisa Zyga feature
Lévy distributions of melodic intervals for (left) Bach’s Concerto for two violins in D minor, movement 2, and (right) Küchler’s Concertino in D major, Op. 15. Credit: Niklasson and Niklasson. ©2015 EPL

(—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 as music requires a much higher-level perspective than merely understanding the properties of waves.

Despite the complexity of , recent research has shown that music can be analyzed using some of the same physics models commonly used to describe more traditional physics concepts.

More evidence of this ability to describe music with physics comes from a new paper published in EPL by Gunnar A. Niklasson, an engineering professor at Uppsala University, Sweden, and Maria H. Niklasson, a musician at the Betel Music Institute in Bromma, Sweden.

The researchers found that the distribution of melodic intervals in two classical concertos and two folk songs can be modeled by a Lévy distribution. They explain that melodic intervals are the pitch intervals between successive time intervals, which are defined by the duration of the shortest note—so each note may be equal to one or more of these time intervals. (A pitch interval can also be roughly thought of as how far apart two notes are on a piano.) The Lévy distribution describes many other diverse scenarios, such as the turbulent motion of a particle in a liquid or gas, the changes in the price of a stock, earthquake activity, and the foraging paths of wild animals.

"Our work indicates a consonance between patterns in music and in nature, but how to interpret this is more of a philosophical question," Gunnar Niklasson told

All Lévy motions are characterized by a mix of many short and a few long steps, and also exhibit fractal properties. For a musical melody, this basically means that there are many small intervals (just one or two notes apart) and fewer large intervals (sometimes up to 20 notes apart), and that the numbers of these intervals are distributed in the shape of a sharp peak with long tails on both sides. Previous research has implicitly assumed that melodic intervals follow a Gaussian distribution (i.e., a "bell curve"), but a Levy distribution is different from a Gaussian one, so the new results challenge these assumptions.

The researchers emphasize that the Lévy distribution is only an approximate description of the distribution of melodic intervals, as the actual distribution of intervals deviates from a perfect Lévy distribution in certain ways. One example is that, in many songs, two-note intervals are more common than one-note intervals. There are also large fluctuations in the tail regions, where the intervals are largest. The researchers suggest that some of these deviations may reflect different music styles, genres, and composers.

Besides contributing to a greater fundamental understanding of music, the findings here may also be useful for experimenting with computer-generated music.

"Computer-generated music is a very small portion of all present music," Gunnar Niklasson said. "It is my understanding that algorithms are mainly used by some composers for generating ideas that they can incorporate into new written compositions. We have not explored the relation of our work to algorithmic composition yet. However, it is interesting to note that some of the currently used algorithms are based on fractals and chaos theory."

In the future, the researchers hope to develop more automated methods of analysis, which is necessary in order to analyze larger numbers of music samples. This would also allow for a comparison of the styles of different composers, as well as a comparison of written music with computer-generated compositions.

Explore further: Researchers find classical musical compositions adhere to power law

More information: Gunnar A. Niklasson and Maria H. Niklasson. "Non-Gaussian distributions of melodic intervals in music: The Lévy-stable approximation." EPL. DOI: 10.1209/0295-5075/112/40003

Related Stories

Even animals compose

February 17, 2015

An international research team lead by Marisa Hoeschele from the University of Vienna argue that only by combining examination of species' natural behaviour and artificially testing species for their potentials the animal ...

Big Data reveals classical music creation secrets

April 30, 2015

A team of scientists has shed light on the dynamics of the creation, collaboration and dissemination processes involved in classical music works and styles. Their study focuses on analysing networks of composers contemporary ...

Recommended for you

More to rainbows than meets the eye

August 25, 2016

In-depth review charts the scientific understanding of rainbows and highlights the many practical applications of this fascinating interaction between light, liquid and gas.

Chemists explore outer regions of periodic table

August 25, 2016

A little known—and difficult to obtain—element on the fringes of the periodic table is broadening our fundamental understanding of chemistry. In the latest edition of the journal Science, Florida State University Professor ...

Measuring tiny forces with light

August 25, 2016

Photons are bizarre: They have no mass, but they do have momentum. And that allows researchers to do counterintuitive things with photons, such as using light to push matter around.

DNA chip offers big possibilities in cell studies

August 25, 2016

A UT Dallas physicist has developed a novel technology that not only sheds light on basic cell biology, but also could aid in the development of more effective cancer treatments or early diagnosis of disease.

Understanding nature's patterns with plasmas

August 23, 2016

Patterns abound in nature, from zebra stripes and leopard spots to honeycombs and bands of clouds. Somehow, these patterns form and organize all by themselves. To better understand how, researchers have now created a new ...


Adjust slider to filter visible comments by rank

Display comments: newest first

not rated yet Jan 08, 2016
Given that the most ancient human languages more resemble bird song than human language and that hunting and gathering may have been one of the ways it was used, these two things are not really independent, no?
not rated yet Jan 09, 2016
Bird songs are tuned to plasma waves:"Chorus is an electromagnetic phenomenon caused by plasma waves in Earth's radiation belts. For years, ham radio operators on Earth have been listening to them from afar. Now, NASA's twin Radiation Belt Storm Probes are traveling through the region of space where chorus actually comes from—and the recordings are out of this world."
not rated yet Jan 11, 2016
As a musician, I'm more than a bit skeptical. That graph is... hard to read. My best guess is the horizontal plane is interval... with 0 being the root. Then the vertical is the number of intervals that fell on the root, or outside of it.

So if you had a song in, lets say, D... the number of notes that fell on C was a sharp peak with notes outside the root happening less frequently? Well... duh. And then when looking at the plot here, you can basically make out the minor scale just looking at it. Whole, half, whole, whole, half... The closer to the root you get, the more frequent the note is going to be used. This is nothing surprising at all.

How this relates with foraging animals, I do not know.

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.