Tutorial · Gauss Shifter · Intermediate · 3 min read

Humanizing MIDI strings and ostinatos

The string ostinato, that repeated rhythmic cell in spiccato, is everywhere in film music. Programmed with the mouse, it sounds like a sewing machine: every note at the same strength. This tutorial explains how to give it back the playing of a real section.

In short

Give the ostinato a hierarchy of accents (strong beats, weak beats, passing notes), a shape over the phrase (crescendo toward the peak, a breath at the end), and only then a small random variation around that intention.

Gauss Shifter interface
Gauss Shifter plugin interface: midi humanization
The real Gauss Shifter interface, playable here: click to try it.
Gauss Shifter · MIDI humanization · Coming soon

Velocities that breathe, not velocities that roll dice.

  • An intention curve drawn over the whole passage: crescendos, phrases, deliberate accents.
  • A Gaussian spread around that curve: life, never chaos.
  • Layers by rhythm or by pitch: the bass, the downbeats and the passing notes don’t move the same way.
Discover Gauss Shifter →

Why a programmed ostinato sounds mechanical

A violinist playing an ostinato doesn't strike every note the same. They accent the first beat, lighten the passing notes, change bow strokes, push toward the end of the phrase. A sequencer's randomness (velocity ± 10) reproduces none of that: it adds disorder with no intention.

Diagram of a sixteenth-note ostinato over two bars: all equal velocities at the top, and at the bottom a humanized ostinato with accents on the beats, softer passing notes and a crescendo toward the end of the phrase.
At the top, the programmed ostinato: every note at 100. At the bottom, the same ostinato played: a hierarchy of accents and movement over the whole phrase.

Step 1: the hierarchy of accents

Position in the barRelative velocityRole
First beatthe loudestThe anchor
Other beatsa little lessThe pulse
Eighths between beatslessThe motion
Passing sixteenthsthe softestThe glue
A classic hierarchy. For a syncopated ostinato, the accent follows the rhythmic motif rather than the bar.

The differences don't need to be big: 8 to 15 velocity points between the anchor and the passing notes are enough to make a hierarchy heard.

Step 2: the shape of the phrase

An ostinato lives over two or four bars: it swells toward its peak and relaxes. Draw this shape on velocity (or on expression, CC11, if the library uses it for short notes). It's this curve, more than the accents, that gives the feeling of a musician thinking about the phrase.

Step 3: variation around the intention

Only now do you add variation: small (a standard deviation of 3 to 6 points), and bell-shaped around the intention, not uniform. Most notes stay close to what's intended, a few stray from it. That's the difference between a musician and a coin toss. The tutorial velocity curve and standard deviation explains why.

What about timing?

For an ostinato, stay careful: fast strings must stay in place. A few milliseconds of offset per section (second violins slightly after the firsts) opens up the ensemble, but a random note-by-note offset blurs the pulse. The tutorials on this site mostly work on velocity, which brings most of the realism.

With Gauss Shifter: layers by rhythm

Gauss Shifter sits on the MIDI track and rewrites velocities during playback. Each movement (a number of bars) has its intention curve and its standard deviation, drawn over time. Layers sort the notes by conditions: position in the bar (rhythm), pitch, MIDI channel. One layer for the strong beats, one for the offbeats, one for the rest: the hierarchy from step 1 is done.

A layer's conditions: by position in the bar, by pitch or by channel.
The intention curve over the movement, and the standard deviation as dotted lines on each side.

For the general method, start with humanizing MIDI; for layers in detail, see humanizing with layers and movements.

Gauss Shifter interface
Try it: draw a wave on the velocity curve and watch the notes follow in the visualizer.

Frequently asked questions

How do you make a string ostinato sound real?

Accent the strong beats, lighten the passing notes, draw a velocity wave over each phrase of two or four bars, then add a small bell-shaped variation around that intention.

Should you humanize an ostinato's timing?

Carefully: a slight offset between sections opens things up, but a random note-by-note offset blurs the pulse. Velocity brings most of it.

How big a gap between accents and weak notes?

8 to 15 velocity points are usually enough. Beyond that, the ostinato becomes choppy.

Velocity or expression for an ostinato?

For short notes (spiccato, staccato), velocity usually matters most; expression (CC11) is for the overall shape. Check how your library uses them.

Updated on October 22, 2026.

Gauss Shifter · Coming soon

Ostinatos that breathe, with Gauss Shifter

Gauss Shifter gives each movement an intention curve and layers by rhythm: strong beats, offbeats and passing notes don't get the same playing.

Discover Gauss Shifter →