What Is an Ostinato? The Repeating Pattern Behind Great Loops
Cihad Turhan5 min read

An ostinato is a short musical pattern, a rhythm, a bass line or a few melody notes, that repeats over and over in the same part while the rest of the music changes around it. The word is Italian for "stubborn", which is a good way to remember it: the pattern refuses to stop.
Ostinatos are everywhere, from Baroque bass lines to rock riffs to the four-note figure in Carol of the Bells. They are also the foundation of loop-based music, because a pattern that repeats cleanly is exactly what you stack other layers on top of. This guide covers the main types, how to spot one, and how to write your own.
The definition, in plain words
Wikipedia's ostinato article defines it as a motif or phrase that persistently repeats in the same musical voice, frequently at the same pitch. It also notes that "ground" in classical music and "riff" in popular music are related terms for the same idea.
Three things make something an ostinato rather than just a repeated phrase:
- It repeats many times, not just twice. The repetition is the point.
- It stays in one part. The bass, a single instrument or a single voice keeps playing it.
- Other things change around it. Melodies, harmonies or textures evolve while the ostinato holds steady.
Four kinds of ostinato
| Type | What repeats | Classic example | What to listen for |
|---|---|---|---|
| Ground bass (basso ostinato) | A bass line | Pachelbel's Canon, an eight-note bass repeated throughout | The lowest part never changes |
| Melodic ostinato | A short tune fragment | The four-note figure of Carol of the Bells (Leontovych's Shchedryk) | A catchy cell that keeps cycling |
| Rhythmic ostinato | A rhythm, sometimes on one pitch | A drum pattern that repeats every bar | A pulse you can tap along to |
| Riff | A repeated figure in pop, rock or jazz | The guitar or bass hook of many rock songs | The part you'd air-guitar |
The ground bass is the oldest and most formal type. In Pachelbel's Canon, the bass plays the same short figure from beginning to end while violins enter one by one above it. Grieg's In the Hall of the Mountain King works differently: one motif repeats while it gets faster and louder, so the ostinato itself drives the build-up.
How to spot an ostinato by ear
Try this with any piece you know:
- Find the lowest part and hum it. If you find yourself humming the same few notes again and again, it may be a ground bass.
- Count the repeats. Tap once each time the pattern restarts. If you reach four or more without it changing, you have an ostinato.
- Listen for what changes above it. If the melody or harmony develops while the pattern holds, that contrast confirms it.
- Check the length. Most ostinatos last one, two or four bars, short enough to remember after a single hearing.
Write your own in four steps
You don't need theory training to write a useful ostinato. A simple method:
- Pick three or four notes from one scale, for example C, E, G and A.
- Give them a rhythm that fits exactly into one bar of four beats. Mix long and short notes, such as long-short-short-long.
- Repeat it eight times and check that it doesn't get annoying. If it does, simplify the rhythm rather than adding notes.
- Add one thing at a time on top: a bass note on beat one, then a slow melody, then a counter-line. The ostinato should still be clearly audible when everything is playing.
If you write in a DAW or notation app, put the ostinato on its own MIDI track. Keeping each layer separate makes it easy to mute, remix or reuse later.
Hear ostinatos as layers in RingLoop
Ostinatos are easiest to understand when you hear them alone first and then with everything else added. RingLoop is built around that experience. Every song is a set of concentric rings, and each ring you clear in time adds its instrument to the mix, like a loop station, until the full song plays.
That makes it a useful ear-training tool for this concept:
- Listen to the first ring on its own. In many tracks, the opening layer is a repeating pattern that everything else is built on.
- Notice which ring never changes. As more rings join, one part often keeps cycling. That is your ostinato.
- Import your own. The level editor imports MIDI with one ring per track, so the ostinato you wrote can become the first ring of a level. You can adjust the mix per ring to keep it audible. The guide to turning a MIDI file into a looping music video covers the full import and render flow.
Seeing an ostinato written down makes the repetition obvious in a different way, because the same shape appears bar after bar on the staff. Note Bounce lands bouncing balls on real sheet music as you play piano and classical songs, so you can watch a repeating pattern while you hear it and get faster at recognizing it in notation.
Practice today
Pick one piece with a famous repeating part, such as Pachelbel's Canon or In the Hall of the Mountain King, and use the four listening steps to find its ostinato. Then write a one-bar pattern of your own, repeat it eight times, and add a single melody on top. Once you can hear the stubborn part holding everything together, you'll start noticing ostinatos in almost every song you play.
Frequently asked questions
- What is the difference between an ostinato and a riff?
- They describe the same idea in different traditions. "Ostinato" is the classical term for a pattern that keeps repeating in one part, and "riff" is the usual word for a repeating figure in rock, pop, jazz and hip-hop.
- Is an ostinato the same as a loop?
- Close, but not identical. An ostinato is a musical idea a player or composer repeats, while a loop is usually a recorded or programmed section that repeats exactly. Many loops are built from ostinatos.

Get RingLoop
Free to play on iPhone, iPad and Android. Import your MIDI, clear the rings and render the loop as a video.
