Writing
How to Write a Cinematic Ostinato
An ostinato is the easiest thing in film music to write badly. Four notes, repeat, done, and the cue sits there for ninety seconds going nowhere. This is about the other kind: the figure that carries a scene, builds without anyone noticing, and still sounds inevitable on the fortieth repeat.
Most writing on the subject stops at the definition: a short musical figure, repeated persistently. That is true and it helps nobody. What matters is what the figure is for, and everything about how you write it follows from that.
What an ostinato is actually doing
In a scored cue, an ostinato does three jobs at once, and it is worth naming them separately because they pull in different directions.
It keeps time. Picture is cut to a rhythm. A repeating figure locks the music to that rhythm and gives the editor something to cut against. This is the job that makes composers reach for an ostinato in the first place, and it is the one that needs the least thought.
It holds harmony in place while nothing else does. A scene often needs one emotional colour for forty seconds while the dialogue does the work. A sustained chord goes dead after eight bars. A moving figure over the same harmony stays alive indefinitely — the ear reads movement as life, even when the harmony has not shifted at all.
It creates the illusion of acceleration. This is the one that separates a good ostinato from a loop. If the figure is built correctly, you can make a cue feel like it is speeding up for ninety seconds without ever changing the tempo. The mechanics of this are in the section on variation, and they are the reason ostinati dominate trailer and action scoring.
A loop repeats. An ostinato repeats and accumulates.
Build it in three layers
Almost every ostinato that works in a cinematic context can be described as three layers doing different jobs. You do not need all three at once, but you do need to know which one you are writing at any moment, because the rules are different for each.
The pulse
Low, sparse, on the beat. Usually the root, sometimes root and fifth. This is the layer the body hears. Its job is weight and time, not interest, and the most common mistake is making it busy.
Keep it to one or two notes per bar at the bottom, and keep it below the stave: cellos and basses, low piano, low synth. If you write sixteenths in the low register you get mud, not power, because the low end needs physical time to speak. A bass note at 100 BPM needs roughly a tenth of a second before the fundamental is audible; stack eight of those per bar and they smear into one another.
The figure
This is the ostinato proper, the part someone would hum. Mid register, usually four to eight notes per bar, moving. Violas, second violins, mid piano, plucked strings, mallets.
Its note choice is what makes the cue sound competent or amateur, so it has its own section below.
The shimmer
High, fast, thin. Sixteenths or faster, often just two or three pitches alternating, often barely audible on its own. High violins, celeste, glass, high plucks.
This layer is almost pure texture. Its purpose is to sit above the figure and make the whole thing feel like it has more energy than it does. Remove it from a finished mix and the cue immediately sounds slower. That is how you know it is doing its job.
Choosing the rate
The subdivision you pick carries more meaning than the notes do. Before you write a single pitch, decide what the figure is subdividing.
| Rate | Reads as | Typical use |
|---|---|---|
| Quarters | Weight, ceremony, inevitability | Main titles, a march, the moment before something happens |
| Eighths | Forward motion, purpose | The workhorse. Chase, investigation, build |
| Eighth triplets | Roll, momentum, slight unease | Pursuit, water, anything that should feel like it is tumbling |
| Sixteenths | Urgency, panic, machinery | Action peaks. Tiring if sustained, so usually a top layer rather than the figure |
| Dotted eighths in 4/4 | Limping against the grid | Cross-rhythm. Feels faster than it is, because the accent moves |
The dotted-eighth idea deserves a note of its own. Write a figure in dotted eighths over a 4/4 pulse and the pattern takes three bars to line up with the downbeat again. To the listener it sounds restless and mechanical at once, which is the effect that makes so much modern action scoring feel relentless. It is also the single cheapest way to make a four-note idea stop sounding like four notes.
Which notes, and the one that is allowed to hurt
The default assumption, that every note of an ostinato should be a chord tone, is wrong. Following it is why so many generated patterns sound sterile.
Chord tones are the safe skeleton. Over an A minor chord, the notes A, C and E will never sound wrong. Build a whole figure out of them and it will also never sound like anything. What gives an ostinato character is a note that does not belong and resolves, or does not resolve and is gone before you can object.
The three kinds of note that are not in the chord
- Passing notes. A note stepped through on the way between two chord tones. Over A minor, going A–B–C: the B belongs to nothing and nobody hears a problem, because it is moving and it is short.
- Neighbour notes. Step away from a chord tone and back: C–D–C. Adds motion without changing the harmony at all. The most useful device in the whole vocabulary, and the most underused.
- Suspensions. A note held over from the previous chord that resolves down by step on the next beat. Most of the emotional weight in cinematic writing sits here.
The rule is not avoid non-chord tones. It is a non-chord tone needs somewhere to go, and needs to be shorter than the note it resolves to. A passing B on an eighth resolving to C is invisible. A B held for a whole bar over A minor is a decision, and it had better be one you meant.
Play the figure against the chord, alone, slowly. If a note sounds wrong, ask whether the next note fixes it. If it does, keep it. It is doing work. If nothing fixes it, it is not a colour, it is a mistake.
Register and spacing
An ostinato that reads beautifully on the piano can turn to mud in an orchestral mock-up, and the reason is almost always spacing rather than notes.
The usable rule: below roughly C3, write nothing closer than a fifth. Thirds and seconds down there beat against each other and the result is thick rather than powerful. Above C4 you can voice as closely as you like. Close seconds up there read as shimmer, not mud. This is not a stylistic preference; it follows from how the harmonic series spaces out, which is also why every orchestrator's chord voicings look wide at the bottom and tight at the top.
The practical consequence for an ostinato: if you want the figure low and it sounds muddy, do not thin the notes. Move the figure up an octave and put a sparse pulse underneath it instead. You will get the weight from the pulse and the clarity from the figure, and the cue will sound bigger, not smaller.
The gap
The most common fault in an amateur ostinato is that it never stops. Eight even eighths, every bar, forever.
Take one out. Almost any four-bar figure gets better if a single note is removed, usually the last of the bar or the one just before the downbeat. The silence does two things: it lets the pulse underneath speak, and it creates an expectation that the next bar answers. A figure with a hole in it is a question. A figure without one is a machine.
Listen to almost any well-known ostinato in film scoring and you will find the gap. It is rarely the notes that make the figure memorable. It is where the notes are not.
Harmonic rhythm: how often the chord changes
How long you stay on each chord changes the scale of the music more than the chords themselves do.
- Two chords per bar: busy, conversational, feels like a pop song under dialogue. Rarely reads as big.
- One chord per bar: the standard. Enough movement to stay interesting, slow enough to feel composed.
- One chord per two bars: the point at which scale starts. The figure repeats twice over the same harmony, so the ear stops tracking the chord and starts tracking the accumulation.
- One chord per four bars: monumental, and completely dependent on the ostinato being good enough to hold attention alone.
A reliable structural move: start at one chord per bar for the first section, then halve the harmonic rhythm for the build. Nothing else changes. Same figure, same tempo, and the music will feel like it has opened out.
Making it last ninety seconds
This is the part that separates a cue from a loop. The figure does not change. Everything around it does, in a specific order, and the order matters because each step must leave room for the next.
It works like a ladder. Each rung is one thing you can do, and you only get to use each one once.
- Add the pulse. Start with the figure alone, or nearly alone. Bring the low layer in at bar 5 or 9. The cue immediately has a floor.
- Double at the octave. Same figure, one octave up. Costs nothing, adds brightness and apparent size.
- Add the shimmer. The high layer arrives. Apparent tempo jumps without the tempo moving.
- Thicken the figure. Harmonise it in thirds or sixths, or hand it to a second section in unison. This is the first point at which the figure itself is altered.
- Halve the harmonic rhythm. As above. The music opens out.
- Raise the contour. Move the top note of the figure up a step or a third. Tiny change, large effect. The ear reads a rising ceiling as intensification.
- Drop everything but the pulse. The counter-intuitive one, and the most effective. Strip back to almost nothing for two or four bars before the final section. The re-entry will land twice as hard as it would have without the hole.
- Everything, plus percussion. Only now.
Eight rungs at four bars each is thirty-two bars, around eighty seconds at 100 BPM. That is a trailer cue, built out of one four-note idea, with the tempo constant throughout.
If you run out of rungs before the cue ends, the problem is not the ostinato. You climbed too fast.
Voicing it across an orchestra
A rough allocation that works more often than it does not:
| Layer | First choice | Alternatives |
|---|---|---|
| Pulse | Basses and cellos, pizzicato or short bow | Low piano octaves, taiko, low synth |
| Figure | Violas and second violins, spiccato | Piano, harp, marimba, staccato brass for weight |
| Shimmer | First violins, high and quiet | Celeste, glockenspiel, high plucked strings, granular texture |
| Sustain over the top | Horns or low strings, long | Choir, pads, anything that does not move |
That last row matters more than it looks. An ostinato with nothing sustained above it sounds like an exercise. One long note held across the whole figure, a horn on the tonic or a choir on the fifth, is what turns a pattern into music. It gives the ear somewhere to rest while the figure churns underneath.
Velocity, and why flat ostinati sound fake
A real player cannot play sixteen identical notes. Nor should a mock-up.
Two adjustments do most of the work. First, accent the downbeat of each bar. Ten to fifteen velocity steps above the rest is plenty; more reads as heavy-handed. Second, give the figure a shape across the bar: slightly louder as it rises, slightly softer as it falls. This is what a string player does without thinking about it, and its absence is the main reason programmed ostinati sound programmed.
Avoid the temptation to randomise. Random velocity sounds like a machine imitating a human, which is worse than a machine. Shape is intentional; noise is not.
Five ways it goes wrong
- Every note is a chord tone. Harmonically safe and completely lifeless. Add a neighbour note.
- The low layer is as busy as the figure. Mud. Thin the bottom.
- No gap. The figure never breathes, so the cue cannot build.
- Everything enters at once. You have spent the whole ladder in bar 1 and have nowhere to go.
- The figure is too interesting. An ostinato that demands attention competes with the dialogue and the melody. If you find yourself proud of it, it is probably a theme rather than an ostinato, and it belongs somewhere else in the cue.
A worked example
Take a progression that is almost a cliché in this style, and is a cliché because it works: F♯m – D – A – E in A major. One chord per bar, 4/4, 100 BPM.
Bar by bar, the figure
Eighths, mid register, one gap. Over F♯m the chord tones available are F♯, A and C♯. Write:
F♯ – A – C♯ – A – B – A – C♯ – (rest)
Six of those eight notes are chord tones. The B on beat 3-and is a neighbour note. It steps away from A and comes straight back. The rest at the end of the bar is the gap. That single silence is what makes the next bar feel like an answer rather than a continuation.
Now keep the shape and move it to fit each chord. Over D (D, F♯, A):
D – F♯ – A – F♯ – G – F♯ – A – (rest)
Identical contour, identical rhythm, new harmony. The listener recognises the figure immediately, which is the point. The ostinato is the constant and the harmony is what moves.
The other two layers
Pulse: cellos and basses, one note per bar, root only. F♯ – D – A – E, two octaves below the figure. Add the fifth above it from bar 9 if it needs more weight.
Shimmer: high violins, sixteenths, alternating between the fifth and the root of each chord. Barely present in the mix, around 12 dB under the figure.
The build
Bars 1–8, figure and pulse only. Bars 9–16, add the octave double and the shimmer. Bars 17–24, harmonise the figure in thirds and halve the harmonic rhythm so each chord lasts two bars. Bars 25–28, strip to pulse alone. Bars 29–36, everything, with percussion and a horn line sustained over the top.
Thirty-six bars, around ninety seconds, one four-note idea, no tempo change.
Where a tool fits
None of the above is about software. The decisions are compositional: rate, register, where the gap goes, which rung of the ladder comes next. No plugin makes them for you.
What a tool can reasonably do is remove the typing. Working out the figure over F♯m takes a minute; transposing its contour correctly across three more chords, checking every note against each new harmony, and then doing it again for the harmonised version is an hour of clerical work that teaches you nothing.
That is the gap Ostinato was built for: give it the progression, get back a figure laid correctly across it as editable MIDI, then do the actual composing on notes that are already in the right places: move the gap, raise the contour, decide which rung comes next.