Drum Programming: Building and Mixing a Beat From Scratch
In most electronic music the drums carry the energy of the track. Good drum programming is less about rare sounds than about placement, dynamics and groove. This guide builds a beat from an empty project and then mixes it, using tools every DAW has: a drum rack or sampler, the piano roll or step sequencer, and the stock EQ and compressor.
1. Set the tempo and the grid
Choose the tempo before anything else. Typical ranges, which vary with subgenre and era:
| Style | Typical tempo | Basic feel |
|---|---|---|
| Hip hop, boom bap | About 80 to 100 BPM | Kick and snare backbeat, swung hats |
| House | About 118 to 128 BPM | Four-on-the-floor kick, offbeat open hat |
| Techno | About 125 to 140 BPM, sometimes faster | Four-on-the-floor, driving percussion |
| Dubstep and trap | About 140 BPM (trap often 130 to 150) | Half-time feel, snare on beat 3 |
| Drum and bass | About 160 to 180 BPM | Broken kick and snare pattern, often from chopped breaks |
Set the step sequencer or piano roll grid to 1/16 notes. At 124 BPM one beat lasts 60000 / 124 = 483.87 ms and one sixteenth about 120.97 ms; the BPM tempo calculator gives these lengths for any tempo, which helps when trimming samples and setting decay times.
2. Choose sounds that fit together
Pick a kick first, then a clap or snare that complements it, then hats. Audition sounds together rather than one by one. Short, punchy kicks leave room for a busy bassline; long, boomy kicks need a sparser bass. For drum samples, use your DAW's built-in kits, your own recordings or licensed packs, and read each pack's license.
3. Program the core pattern
Four-on-the-floor (house, techno)
- Kick on every beat: steps 1, 5, 9 and 13 of a 16-step bar.
- Clap or snare on beats 2 and 4: steps 5 and 13.
- Open hi-hat on the offbeats: steps 3, 7, 11 and 15.
- Closed hats on sixteenths, or on selected steps, to add drive.
Backbeat (hip hop)
- Snare on beats 2 and 4.
- Kick on beat 1 plus a few syncopated hits, such as step 11 (the "and" of beat 3) or step 15. Leave gaps.
- Closed hats on eighths with swing.
Half-time (dubstep, trap)
- Snare on beat 3 of each bar, so the pulse feels half as fast as the tempo.
- Kick on beat 1 and a few variations around it.
- Hats in eighths or sixteenths, with rolls (1/32 or triplet bursts) for energy in trap.
4. Make it groove
- Velocity. Do not program every hit at full velocity. Vary hats between strong and weak (for example accent the offbeat hats) and make ghost snares much quieter than the main hits.
- Swing. Delays every second sixteenth (or eighth) slightly, which gives a shuffled feel. Start with a small amount on the hats only and increase until it feels right; strong swing on the kick can make it feel sloppy.
- Nudging. Moving a snare or clap a few milliseconds late gives a laid-back feel; early gives urgency.
- Ghost notes and percussion. Quiet extra snare hits, shakers, rims and toms between the main hits make the loop feel played.
- Variation. Every 4 or 8 bars, add a fill, drop the kick for a beat, open a hat or add a crash. Repetition is the point of dance music, but small changes keep it alive.
5. Tune the kick and the bass
Many kicks have a clear pitch. Tune the kick to the key of your track, or to a note that sits well with your bassline, using the sampler's transpose control and a tuner or spectrum analyzer. The MIDI note frequency converter shows the frequency of each note; for example MIDI note 28 (E1) is about 41.2 Hz and MIDI note 33 (A1) is 55 Hz.
6. Mix the drums
Levels first
Group the drums on a bus. Set the kick so it peaks comfortably below 0 dBFS (somewhere around -10 to -6 dBFS is a reasonable starting point), then bring in the snare or clap, then the hats, until the balance feels right at a moderate listening level. Most balance problems are solved here, not with plugins.
EQ
- High-pass everything except the kick (and bass) to remove low rumble that muddies the low end. Start the filter low and raise it until you hear the sound thin out, then back off slightly.
- If the kick and bass clash, decide which owns the lowest frequencies and cut a little from the other in that region.
- Cut harshness in hats and claps in the upper midrange if they sound piercing, rather than boosting everything else.
Compression and transients
- On a snare or clap, a compressor with a medium attack lets the initial crack through and adds punch. Try a ratio around 4:1 and a few dB of gain reduction as a starting point, and adjust by ear.
- On the drum bus, gentle compression (around 2:1, 1 to 3 dB of gain reduction) glues the kit together.
- Parallel compression: send the drums to a second bus, compress that heavily, and blend it underneath the uncompressed drums for weight without losing the transients.
- A transient shaper adds or reduces attack and sustain directly, which is often simpler than compression.
Sidechain
Sidechain compression on the bass (and sometimes pads), triggered by the kick, ducks those parts briefly each time the kick hits, so the kick stays clear. Use a fast attack and a release that lets the bass recover before the next kick. A volume-shaping plugin or drawn automation can do the same job.
Space
A short room reverb on the snare or clap places it in a space. Keep reverb off the kick and low end, or high-pass the reverb return. For tempo-synced echoes on percussion, the delay time calculator gives straight, dotted and triplet values: at 124 BPM an eighth note is 241.94 ms and a dotted eighth 362.9 ms.
Common mistakes
- Every hit at the same velocity, so the loop sounds mechanical.
- Too many layered kicks, causing phase cancellation and a weaker sound. Check by soloing and flipping polarity.
- Bright hats too loud, making the track tiring.
- Reverb on the whole drum bus, washing out the low end.
- Judging the beat only at high volume, where everything sounds exciting.
Breaks, samples and clearance
Chopped drum breaks from old records are a foundation of hip hop and drum and bass. A recognizable break from someone else's recording needs permission (clearance) from the rights holders, usually both the sound recording owner and the publisher, before you release it; no length is automatically safe and rules vary by country. Licensed break packs and your own recorded drums avoid the problem. Ask the rights holder or a music lawyer about specific cases.
Look after your ears
Drums are full of sharp transients that tire the ears quickly. Program and mix at a moderate level, turn up only briefly to check, and take regular breaks. Loud sound can cause permanent hearing loss and tinnitus. If you notice ringing, muffled hearing or pain after a session, stop and rest in quiet, and see a doctor or an audiologist if it does not clear or keeps happening.