Tutorial · Gauss Shifter · Intermediate · 6 min read

Velocity curve and standard deviation: humanizing without randomness

You've tried velocity randomization and the result sounds clumsier than human? The idea isn't the problem, the shape of the randomness is. This tutorial explains, without complicated math, why a curve plus a standard deviation sounds like a musician, and how to choose the right values.

In short

The velocity curve gives the intention, the standard deviation the spread around it. With a normal distribution, two notes out of three stay within one standard deviation of the curve: 10 is a good start.

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 →

Two settings, two roles

To humanize velocities, you need to separate two ideas. The first is what the musician wants to play: soft here, crescendo there, accent on this beat. That's the velocity curve, the intention. The second is how precise their hand is: a pianist never lands exactly on the value they're aiming for. That's the spread, set by the standard deviation.

If you mix the two, you lose control. Randomization without a curve gives deviations with no intention. A curve without spread gives an intention played by a machine. The right result comes from both together. If you're starting from scratch, begin with how to humanize MIDI.

Uniform randomness or normal distribution: the real difference

Most randomization functions draw at random uniformly: with plus or minus 20 around 80, every value between 60 and 100 has the same chance of coming up. A note at 60 is as likely as a note at 80. Over 16 notes, you'll often get several notes far off from the intended dynamic.

A normal distribution, or Gaussian, is shaped like a bell. Most values are near the center, and the further you go, the rarer they get. That's exactly how a musician misses: almost always by a little, rarely by a lot. The Gauss Shifter page shows it with a thousand velocities around 80: on the left a uniform randomization of ±20, on the right a Gaussian with a standard deviation of 10, where clear misses stay rare.

This interactive tool needs JavaScript.

Move the standard deviation slider to see the bell widen, then play 16 fixed notes and 16 humanized notes.

An interesting detail: a uniform range of ±20 has a standard deviation of about 11.5. So on average it spreads about as much as a Gaussian with a standard deviation of 10. It's not the amount of randomness that changes, it's its shape. And the shape is what the ear hears: lots of accurate notes and a few deviations, or deviations everywhere.

Reading a standard deviation in velocities

The standard deviation is easy to read with three reference points, valid for any normal distribution:

  • about 2 notes out of 3 land within one standard deviation of the curve;
  • about 95% land within two standard deviations;
  • almost all of them, about 99.7%, land within three standard deviations.
Standard deviation2 notes out of 3 betweenAlmost all betweenCharacter
377 and 8371 and 89Very even, almost mechanical
674 and 8662 and 98Even, controlled playing
1070 and 9050 and 110Alive, a good starting point
1565 and 9535 and 125Very expressive, sometimes unstable
2555 and 1055 and 127Unstable, deviations turn into mistakes
With a curve at 80. Values are limited to the MIDI range of 1 to 127.

Watch the edges: a MIDI velocity doesn't go above 127 or below 1. If your curve is at 120 with a standard deviation of 15, a good share of the top notes get clipped at 127 and the spread becomes lopsided. Keep the curve away from the edges, or reduce the standard deviation on very loud or very soft passages.

Making the curve and the standard deviation evolve over time

A velocity curve is a dynamic that moves. A crescendo is a rising slope, a decrescendo a falling slope, an arched phrase rises toward a peak then comes back down. Two or three points are enough most of the time.

The standard deviation can change too. A musician is often more precise in a calm passage and freer in an intense one. The end of a piece that fades out is played with great restraint. Varying the spread over time reproduces this evolution of the playing, not just of the dynamics.

  1. 1

    Draw the intention with few points

    Place one point at the start, one at the peak of the phrase, one at the end. Avoid sawtooth shapes: life comes from the spread, not from the curve.

  2. 2

    Choose a base standard deviation

    Start at 10. Listen to the part in the mix.

  3. 3

    Adjust to the character

    Go down to 4 to 6 for a chorale, an ostinato or a passage that must stay straight. Go up to 12 to 15 for freer playing.

  4. 4

    Make the spread evolve

    Reduce the standard deviation on a coda that fades out, increase it slightly at the peak of a crescendo.

  5. 5

    Check the edges

    If the curve gets close to 127 or the very low end, reduce the standard deviation there to avoid clipped notes.

An example: an 8-bar piano phrase

Take a piano melody that starts softly, peaks around bar 6 and settles on the last note. The velocity curve starts at 60, rises to 88 around three quarters of the way through the phrase, then comes back down to 65. The standard deviation starts at 8, rises to 12 at the peak, where the playing opens up, and comes back down to 5 at the end, where the hand gets precise. Result: the first two bars stay calm, the peak breathes, the ending settles without accidents. With a fixed uniform randomization of ±20, the same phrase would have notes at 45 in the calm opening and notes at 105 on the way down, with no connection to the music.

Starting settings

Starting points to adjust by ear. The value of 10 is the one shown on the Gauss Shifter page.

General standard deviation10Alive without being unstable
Very even passage4 to 6Chorale, ostinato, discreet accompaniment
Expressive passage12 to 15Free solo, phrase peak
Coda fading outgo down to 3 to 5The hand gets more precise as the sound recedes
Curve near the edgesstay below about 110 with a standard deviation of 10Leaves room for upward deviations

With Gauss Shifter: two curves, one under the other

Gauss Shifter, coming soon in AU and VST3, is built around this idea. Each layer has two editors: Velocity, the intention curve, from 1 to 127, and Standard deviation, the spread, from 0 to 40. Both are drawn over time, over the length of the movement in bars.

The standard deviation is drawn like velocity: click to add a point, click a point to remove it, drag to move it.

On the velocity curve, dotted lines show one standard deviation on each side: you can directly see the zone where two notes out of three will land. When the standard deviation grows, the dotted lines spread apart; when it shrinks, they close in on the curve. The Whole curve button shifts an entire curve without changing its shape.

Once a curve works, the Curves menu saves it on its own, with its standard deviation, under a name. You can then reuse it on any layer: a typical crescendo, a phrase arch, a coda. To apply different curves to the strong beats or to the melody, see humanizing with layers and movements.

The Curves menu: a curve saved with its standard deviation, reusable on any layer.
Gauss Shifter interface
In the demo, draw a curve then change the standard deviation: the dotted lines follow live.

Frequently asked questions

What is the standard deviation of a velocity?

It's the measure of how the notes spread around the intended dynamic. With a normal distribution, about two notes out of three land within one standard deviation of the curve. A standard deviation of 10 around 80 therefore puts two notes out of three between 70 and 90.

Why does a normal distribution sound more human than uniform randomness?

Because a musician aims for a dynamic and most often lands very close, with rare clear misses. That's the shape of a bell. Uniform randomness makes big deviations as frequent as small ones, which sounds like a hand that can't control its strike.

Which standard deviation should you choose for a piano?

Start at 10 and listen in the mix. For a very even accompaniment or a chorale, go down to 4 to 6. For an expressive melody, go up to 12 to 15, keeping the curve away from 127.

Can you vary the standard deviation during the piece?

Yes, it's actually a good idea: tighter playing in calm passages, a little freer in intense ones. In Gauss Shifter, the standard deviation is drawn as a curve over time, like velocity.

What happens if the curve is too close to 127?

MIDI velocities don't go above 127, so notes that should go higher get clipped at that value. The spread becomes unbalanced, with lots of notes at the maximum. Lower the curve or reduce the standard deviation there.

Updated on November 18, 2026.

Gauss Shifter · Coming soon

Set curve and standard deviation in Gauss Shifter

You draw the curve and the standard deviation over time, and the plugin spreads each note along a normal distribution around your intention.

Discover Gauss Shifter →