The Shepard tone: How it works and how to make your own


Illustration: Xia Gordon

This clever auditory illusion tricks your brain into thinking a sound is always rising or falling in pitch.

A Shepard tone always seems like it’s heading up or down towards a particular note, but in reality it’s just an endless loop of sound that never reaches any kind of destination. How is this possible? Let’s explore the techniques behind this illusion, ways it has been used creatively, and even how to make your own.

How the Shepard tone works

This phenomenon is named after cognitive scientist Roger Shepard, some of whose research involved studying how humans use senses like sight and hearing to perceive and interpret their environment. One outcome of this work was the Shepard tone, which is essentially a set of sine waves layered on top of each other and separated by octaves. To achieve the desired effect, you need to move these pitches up or down (like a scale) while also adjusting the loudness of each note. The result is almost like an endless staircase of sound.

The sound of a simple Shepard scale

The Shepard scale expressed in Ableton's piano roll

A discrete Shepard scale (tones starting at C1 and C3 go from soft to loud, while tones starting at C2 and C4 go from loud to soft)

You can also think of Shepard tones as the audio equivalent of a barber pole. In that illusion, our brains interpret the diagonal stripes on the rotating pole as moving vertically upward (and even ‘disappearing’ as they reach the top) even though they’re really just moving around the pole. In a discrete Shepard scale (shown above), this same illusion is achieved by fading each scale in and out to create seamless transitions that loop perfectly, without giving you any sense of where a scale starts or ends. French avant-garde composer Jean-Claude Risset contributed another form of the scale known as the Shepard–Risset glissando. In this version, the pitch glides smoothly from note to note to create a more impressive (and haunting) effect.

Reinforcing tension through sound

From the foreboding rumble of low percussion to the haunting scrape of dissonant violins in a motion picture soundtrack, sound can be used in many ways to evoke feelings of tension or suspense. The concept of the Shepard tone can be particularly effective here, since it’s not tied to a particular instrument and can fade into the background of a mix while still providing a sense of anticipation.

For instance, we can look to some of Christopher Nolan’s films for examples of the Shepard tone as both a soundtrack and sound design element. The sound designer on 2008’s The Dark Knight worked with Nolan to create an engine roar for the iconic Batpod that would continue revving upwards in intensity without seemingly stopping. This was achieved by creating a Shepard-like pattern from a number of real vehicle recordings. The illusion surfaces again in 2017’s Dunkirk, where composer Hans Zimmer layers his Shepard tones into the background throughout the soundtrack to match the continuous, tense nature of the film.

The use of this illusion doesn’t stop at movies. One sequence in the Super Mario 64 video game keeps you walking up an endless staircase if you don’t have enough stars to advance, and the accompanying music leads with a discrete rising Shephard scale. Similarly, the title track of Franz Ferdinand’s 2018 album Always Ascending contains a rising Shephard glissando, and the music video’s camera work mirrors this endless upward effect. It’s also an effective technique in electronic dance music for adding even more anticipation to a buildup before that big drop.

Making your own Shepard tone

You can create your own discrete Shepard scale by copying the MIDI notes and velocities from the screenshot above into your DAW. Making a Shepard–Risset glissando from scratch is going to be a bit more involved, but thankfully there are some Max For Live devices out there to make things a bit easier, along with specialized filter plugins that take the Shepard tone to new heights.

Have you heard Shepard tones in a song, game, or video we didn’t mentioned here? Let us know in the comments below!

July 14, 2020

Matteo Malinverno Matteo Malinverno is a New York-based music producer currently working on the Content team at Splice.