Skip to content
Calc.

MIDI Velocity Dynamics Calculator

Transform raw MIDI velocity values using linear, soft, or hard curves to shape how dynamically expressive a performance feels. Ideal for producers and keyboardists tweaking touch response in DAWs or controllers.

Last updated: September 2026

Output Velocity

64

Formula below · 2 sources (midi.org, manualsdir.com) · Updated Sep 2026

Compare with similar

About this calculator

MIDI velocity is an integer from 0 to 127 representing how hard a key is struck. A linear curve passes the value through unchanged. A soft curve uses output = (input / 127)^0.7 × 127, lifting soft and mid-range velocities so a light touch already plays fairly loud and the contrast narrows. A hard curve applies output = (input / 127)^1.5 × 127: soft and medium notes come out quieter while full-force notes still reach 127, so you have to play harder for loud notes and the contrast between gentle and hard playing widens — useful for keyboards that feel too hot. The names follow keyboard makers' touch settings: Kawai's manuals, for example, describe a light setting as producing a louder volume even when playing with a soft touch, and a heavy one as requiring a heavier touch to produce a loud volume. The Compressed mode pulls every velocity toward the midpoint: output = 64 + (input − 64) / ratio. A 1:1 ratio changes nothing, 4:1 turns an input of 100 into 73, and 20:1 holds almost every note near 64, close to a fixed-velocity setting. The compression ratio is used only in this mode. The output is rounded to a whole MIDI value and kept inside 0–127. The Instrument Dynamic Range field does not change the velocity; it gives an approximate output level by assuming the instrument spreads its dynamic range evenly (in dB) across velocity 0–127: level ≈ −range × (1 − output / 127). Real instruments use their own velocity-to-level maps, so treat that tile as a rough guide.

How to use

Suppose you play a note with an input velocity of 80 and want a hard curve. Step 1: Normalise — 80 / 127 ≈ 0.630. Step 2: Apply the exponent — 0.630^1.5 ≈ 0.4999. Step 3: Scale back — 0.4999 × 127 ≈ 63.49, which rounds to 63. So a moderately hard keystroke (80) becomes a medium-soft note (63). The same velocity on a soft curve gives 0.630^0.7 ≈ 0.7236 × 127 ≈ 91.9, which rounds to 92 — noticeably louder and more present. In Compressed mode at 4:1, an input of 100 gives 64 + (100 − 64) / 4 = 73 and an input of 20 gives 64 + (20 − 64) / 4 = 53: the 80-step gap between the two notes shrinks to 20.

Frequently asked questions

What MIDI velocity curve should I use for realistic piano playing?

There is no single right curve: start with linear and change it only if your keyboard feels wrong. If you have to hammer the keys to get loud notes, try the soft curve (exponent 0.7), which lifts light and medium velocities; if notes jump to loud too easily, try the hard curve (exponent 1.5), which makes you play harder for the same output. Record a short passage and check the velocity spread in your DAW: most of the useful nuance in piano playing sits in the middle of the range, so the aim is for your normal touch to land there rather than bunching near 127 or near the bottom.

How does MIDI velocity compression ratio affect dynamic range?

In this calculator the compression ratio works in the Compressed mode and pulls every velocity toward the midpoint of 64: output = 64 + (input − 64) / ratio. At 2:1 the distance from 64 is halved, at 8:1 it is cut to one eighth, and at 20:1 nearly every note lands between 61 and 67, which is close to a fixed-velocity setting. Higher ratios therefore reduce the contrast between soft and loud playing, much like an audio compressor reduces level differences. That suits genres such as EDM or programmed drums where consistent hits matter more than wide dynamic swings; for expressive piano or strings keep the ratio at 1:1 or 2:1.

Why do MIDI velocity curves use a power function instead of simple multiplication?

A power function (exponent applied to the normalised 0–1 value) produces a smooth, continuously variable curve across the full 0–127 range, unlike a linear scaling factor which just shifts the slope uniformly. Exponents greater than 1 pull low and medium velocities down while leaving full-force notes at 127, widening the soft-to-loud contrast; exponents less than 1 lift low and medium velocities and narrow it. This mirrors how human perception of loudness is non-linear — we are more sensitive to changes at quiet levels than loud ones. Power curves therefore feel more natural and musical than simple multiplication when remapping touch response.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.