Skip to main content
Music production
Deckmatics Academy article cover: Programming drums: kick, clap, hi-hats, percussion and ghost notes
Credits: Deckmatics

Deckmatics

Deckmatics vector SVG generated on this page.

Deckmatics Academy article cover: Programming drums: kick, clap, hi-hats, percussion and ghost notes
Music production: DAWs, samples, composition and synthesis · Beginner · 5 min read

Programming drums: kick, clap, hi-hats, percussion and ghost notes

Program drums from scratch: each kit piece's role, relationships between kick, clap, hi-hats and percussion, and ghost notes, velocity and swing.

You have a kick-and-snare pattern fitting the grid, yet the track does not make you nod your head. Usually, the drums are programmed rather than performed: every hit has the same volume, lands in the same place and repeats relentlessly to the end.

Programming drums means deciding each piece’s role and what it leaves free, rather than filling boxes. This guide covers kick, clap/snare, hi-hats, percussion and ghost notes, then the tools—velocity, swing and humanisation—that make a pattern feel relaxed instead of robotic.

The drum kit piece by piece

Understand each sound’s role before writing notes. A dance pattern is a conversation: one voice supplies the pulse, another answers and another accompanies. Everyone speaking together creates a scribble; with distinct roles, four bars can sustain the whole track.

Recommended order: start with kick or hi-hat, whichever gives the time reference; add accents on 2 and 4; then add texture in a third pass. Working in layers lets you judge each decision separately, the only way to identify which one fails.

Comparison
Piece Role in the pattern Typical error
Kick Marks the pulse and anchors the bassPiling up hits and swallowing the bassline
Clap/snare Accents on 2 and 4Sounding weak or doubled with the kick
Hi-hats Subdivision and movementFlat velocity and a pattern copied 16 times
Percussion Texture and colour between accentsOccupying the clap's frequency range
Ghost notes Groove without added volumeIdentical repetition sounding mechanical

Table of five drum pieces—kick, clap or snare, hi-hats, percussion and ghost notes—their pattern roles and common programming errors.

Drums: each piece’s role

  • Drums. The ensemble. Think of it as the track’s skeleton: a sound skeleton gives any later instrument a place.
  • Kick. Supplies the pulse and occupies the low end. In four-four, everything rests on it; in syncopated styles, it is the anticipated note that does not always appear.
  • Clap/snare. The backbeat. It makes your head nod on 2 and 4, explaining why a kick pattern without the answering accent feels empty.
  • Hi-hats. Subdivision: they turn four hits per bar into eight or sixteen. They create speed and reveal copied patterns.
  • Percussion. Everything else: shakers, congas, rimshots, rides and handclaps. Rather than compete with the clap, it fills gaps left by the accent.
  • Ghost notes. Very soft hits between main accents. Felt more than heard, they suggest someone performing rather than software repeating.

Kick and bass as one line

Kick and bassline are one decision, not two. Playing together adds force but loses definition; occupying different gaps makes the line readable. Three practical options exist:

  1. Unison: Bass and kick on the same notes. Maximum power, typical of compact sounds.
  2. Alternation: Bass enters just after or between kick hits. The commonest route to audible movement.
  3. Sub in the gaps: A sub-bass layer only where the kick is absent, with phase managed to avoid weakening the hit.

Check quietly without the other tracks: a pattern making sense there will make sense in the mix. If they interfere, remove a bass note before touching EQ; an extra note is almost always the issue rather than a frequency. With the track tuned to the same key, consult harmonic mixing so bass and chords speak the same language.

Clap/snare: accents on 2 and 4

The backbeat is half the groove. In four-four, the kick marks one and three—or all four beats—and the clap lands on two and four, creating tension and response. Without it, the pattern resembles a noisy metronome.

Decisive details:

  • Layering or not. Clap over snare adds body; two identical unprocessed claps produce phasing and confusion.
  • Length. A long accent masks the space for bass; a short accent with a controlled tail lets things breathe.
  • Variants. In closing bars, replace the clap with a rimshot or double handclap. The ear detects the change before the structure.
  • Level. Lower accent intensity removes direction; it demands the second-highest volume after the kick.

Hi-hats and percussion: subdivision and texture

Hi-hats indicate the track’s speed: sixteenths seem faster than eighths at the same tempo. Begin with simple eighths and work on three variables:

  1. Alternating velocity. Strong hit, soft hit, repeatedly. A single adjustment changes the feel most.
  2. Open and closed. One open note at the end of the second bar is already an event; the rest can stay closed.
  3. Judicious swing. Swinging kick and clap makes the pattern chaotic; applying it only to hats or percussion produces controlled sway.

Percussion follows that logic with the discipline of staying out of the way. Before adding a shaker or conga, identify the frequency gap the clap leaves and place it there. If it does not fit, EQ is not the issue: the pattern was already complete.

Ghost notes: groove without occupying space

Ghost notes are very low-velocity snare or percussion hits between the real accents. They fill the sense of performance without adding volume or occupying the mix centre.

Three practical rules:

  • Where no accent exists. Never with the clap; commonly in the beat’s second half or before the next kick.
  • Never identical twice consecutively. Repeating the same ghost each bar sounds like a programming error. Change position or velocity.
  • Remove before adding more. When unsure, delete them and add one again. No ghost notes means flatness; too many means noise.

A quick method: mute the clap, write suitable soft hits, then restore the accent. What kept playing with the clap masked is the real groove.

Velocity, swing and humanisation

Three tools solve different problems. Velocity corrects dynamics; swing corrects placement; humanisation avoids exact repetition. Use that order because each amplifies the previous one.

  • Velocity: Vary 10–20% between consecutive hits of one sound. Raise it slightly in each block’s final bar to prepare the next change without a fill.
  • Swing: Start small and only on subdivisions. A limping pattern means a misplaced accent rather than insufficient swing.
  • Iterative quantize: Move notes partway towards the grid instead of snapping everything 100%. Stay near precision while retaining character.
  • Pattern changes by section: Duplicate the block and edit only the second to defeat monotony. Four variations suffice in a six-minute track.

Adjust expectations to style: house and techno rely on tightness with minimal humanisation; hip-hop, funk and reggaeton allow more looseness; drum & bass is so fast that subdivision dominates. Study a four-bar pattern you like in your genre, count it manually and compare it with yours before inventing: it almost always has fewer hits than expected. The 4/4 structure guide develops exactly this reading, because pattern and phrase share the same bar.

Next step

With the rhythmic skeleton resolved, add harmony: a bassline connecting to the kick and a melody staying in your head.

Basslines, Chords, Melody and Hooks: Tension and Resolution

Frequently asked questions

Why do my programmed drums sound robotic?

Every note has the same velocity and lands exactly on the grid. Vary velocity between hits, apply moderate swing or move some notes manually, and the pattern starts breathing without losing precision.

How many kick hits should I use per bar?

There is no universal number, but one or two well-placed hits are enough in most dance styles. If the pattern needs more, the problem is almost always the bass or missing space, rather than needing another kick.

What are ghost notes?

Soft, low-velocity hits placed between main accents. They add movement and texture without occupying mix space; identical repetition every two bars sounds mechanical.

Should I humanise every hit?

No. Tightness is part of electronic music's style. Humanise what sounds borrowed—hi-hats, percussion and ghost notes—and keep structural accents such as the first-beat kick firmly placed.

Which piece should I programme first?

Kick or hi-hat. Starting with one piece gives a reference pattern on which to add the rest in passes, instead of designing six things at once without knowing what fails.

Continue learning

Next lessonBassline, Chords, Melody and Hooks: Tension and Resolution

How to build a track's melodic part: bassline, chords, melody and countermelody, memorable hooks and tension with resolution.

Start here if these concepts are new to you

Sources

  1. Programming Realistic Drum Parts Technical publication Sound On Sound · accessed on

    Explains starting with hi-hat or kick/snare, varying velocity and timing, applying swing partially and using the double-up method to expand one bar into eight.

  2. Making Music — 74 Creative Strategies for Electronic Music Producers (PDF) Paper / book Ableton · accessed on

    Includes Programming Beats 1, 2 and 3 (On Looseness, Linear Drumming and Ghost Notes) and Bass Lines and Kick Drums as a Single Composite, underpinning the kick/bass relationship.

  3. How to use FL Studio — Making music Official documentation Image-Line · accessed on

    Describes Step Sequencer and Piano roll as interchangeable per-channel editors and recommends Snap to scale to place notes in the chosen scale.

  4. Contratiempos (backbeats) — Learning Music Training programme Ableton · accessed on

    Interactive backbeat module: snare or clap accents on beats 2 and 4 as the driver of movement.

Last technical review: 30/09/2026. Please report any errors so they can be corrected.