← All guides

Quantize and swing explained: how to make a beat groove

By Tongkit Leong · July 8, 2026 · 7 min read

Quantize snaps every note to the nearest point on a rhythmic grid, so timing becomes perfectly even. Swing then takes some of that evenness back out on purpose, delaying every other note in the grid to put a bounce in the rhythm. Used together in the Tracks piano roll and drum machine, quantize gives you a tight foundation and swing gives that foundation a human, danceable feel.

What quantize actually does

When you play a part on a MIDI keyboard or tap out a drum pattern by hand, the notes land slightly ahead of or behind the beat — nobody hits perfect timing every time, and that's normal. Quantize is the tool that moves each note to the closest point on a grid you choose, like every 1/16th note or every 1/8th note. Once quantize runs, a note that was a little early or a little late gets pulled exactly onto that grid line.

The result is timing that reads as mechanically precise. That's useful — a kick and snare pattern that wanders slightly off the beat can feel sloppy rather than intentional, and quantize is the fastest way to lock a pattern to the tempo before you build anything else on top of it. See the free online drum machine guide for how grid-based step programming already quantizes patterns by design, and where quantize still matters for recorded or dragged-in notes.

What swing actually does

Swing takes a perfectly even grid and deliberately delays every other note — usually the off-beat "and" notes — by a percentage of the step length. At 50% swing, nothing changes; the grid stays straight. Push swing up toward 60% or 65%, and those off-beat notes start landing noticeably late, creating the long-short, long-short bounce you hear in shuffled hi-hats, MPC-style hip-hop beats, and swung house grooves.

Swing is what separates a beat that sounds programmed from one that sounds played. A drummer naturally does something close to this — their off-hand hi-hat hits are rarely mathematically even — and swing recreates that feel on a grid without requiring you to nudge every single note by hand.

Why a beat that's "too quantized" sounds robotic

Quantize alone, with no swing and no velocity variation, produces notes that are both perfectly timed and often perfectly identical in volume. That combination is what people mean when they say a beat sounds "quantized to death" — every hit lands in exactly the same spot with exactly the same weight, which is not how anything played by a human, or even most hardware drum machines, actually behaves. Swing reintroduces timing variation on purpose, and adjusting velocity by hand or with a light random amount reintroduces volume variation. Neither takes long, and both make a huge difference in how alive a pattern feels.

How to quantize and add swing in Tracks

Step 1: Record or program the part a little loose

Play the part on a MIDI keyboard, tap it in step by step, or draw it in the piano roll without obsessing over exact timing. Quantize is going to fix the grid alignment for you, so there's no need to nail every hit by hand first.

Step 2: Set the quantize grid to match the part

Choose a grid division that fits what you're programming. Most drum patterns and basslines quantize well to 1/16th notes. Slower chord stabs or melodic parts often sound better locked to 1/8th or 1/4 notes, since a tighter grid can over-correct a part that was never meant to be that precise.

Step 3: Apply quantize to tighten the timing

Run quantize on the recorded or programmed notes in the piano roll. Every note snaps to the nearest grid line, and you now have a clean, even pattern to build the groove on top of.

Step 4: Add swing on top

With the timing locked, dial in a swing percentage. Start around 54–58% for a subtle bounce, or push toward 62–66% for a heavier, more obvious shuffle. Swing in Tracks applies to the grid itself, so it affects the piano roll and the drum machine's step patterns the same way.

Step 5: Listen back and adjust per track

Toggle swing on and off and listen to the difference — it's usually more obvious than it sounds on paper. It's also common to use different swing amounts on different tracks: heavier swing on the hi-hats or shaker, little or none on the kick and bass, so the groove has movement without feeling unstable. Vary velocity slightly across repeated hits too, rather than leaving every note at the same volume, for an extra layer of feel on top of the timing.

Common swing amounts and what they sound like

Swing percentages aren't governed by strict rules, but a few starting points are worth knowing:

Treat these as a starting point and trust your ear over the number — the right amount of swing is whatever makes the pattern feel good against the tempo and the other tracks around it.

Frequently asked questions

Does quantize change note velocity, or only timing?

Quantize moves timing only — it does not touch how hard a note was hit. If a beat feels flat after quantizing, the fix is usually to vary velocity by hand across repeated hits, not to undo the quantize.

Should I quantize a recorded vocal or acoustic performance?

Rarely, and not in the same way as MIDI notes. Quantize works on note-based data like piano roll parts and drum patterns; a recorded audio take doesn't have discrete notes to snap to a grid in the same sense, so timing on vocals or recorded instruments is usually handled by editing or comping takes instead. See recording and tuning vocals in your browser for that workflow.

What swing percentage should I start with if I don't know the genre convention?

Start around 55% and listen. That's subtle enough to add feel without the pattern sounding obviously "swung," and you can push it higher from there once you know what direction you want.

Can I quantize only some notes in a pattern and leave others alone?

Yes — select just the notes you want to correct in the piano roll or drum grid before applying quantize, rather than quantizing the whole pattern at once. This is useful when one part of a performance needs tightening but another part's looseness is exactly what makes it feel good.

Does this work the same way if I play parts in on a MIDI keyboard?

Yes. Notes played on a MIDI keyboard land in the piano roll the same as notes drawn by hand, so quantize and swing apply to them identically. See how to use a MIDI keyboard in a browser DAW if you haven't connected one yet.

Program a beat that actually grooves

Quantize, swing, and velocity are all built into the free Tracks piano roll and drum machine — no plugins, no downloads.

Open the studio →