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.
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 deviation | 2 notes out of 3 between | Almost all between | Character |
|---|---|---|---|
| 3 | 77 and 83 | 71 and 89 | Very even, almost mechanical |
| 6 | 74 and 86 | 62 and 98 | Even, controlled playing |
| 10 | 70 and 90 | 50 and 110 | Alive, a good starting point |
| 15 | 65 and 95 | 35 and 125 | Very expressive, sometimes unstable |
| 25 | 55 and 105 | 5 and 127 | Unstable, deviations turn into mistakes |
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
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
Choose a base standard deviation
Start at 10. Listen to the part in the mix.
- 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
Make the spread evolve
Reduce the standard deviation on a coda that fades out, increase it slightly at the peak of a crescendo.
- 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 points to adjust by ear. The value of 10 is the one shown on the Gauss Shifter page.
| General standard deviation | 10 | Alive without being unstable |
|---|---|---|
| Very even passage | 4 to 6 | Chorale, ostinato, discreet accompaniment |
| Expressive passage | 12 to 15 | Free solo, phrase peak |
| Coda fading out | go down to 3 to 5 | The hand gets more precise as the sound recedes |
| Curve near the edges | stay below about 110 with a standard deviation of 10 | Leaves 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.
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.

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.
