How to make trap music in your browser
Trap runs on a half-time snare, a sliding 808 bassline, and rapid hi-hat rolls — and you can program all three from scratch in the Tracks browser studio in an afternoon, with no software to install and no account to create.
The anatomy of a trap beat
Before you open the drum machine, it helps to know what separates trap from most other beat-driven genres:
- Half-time feel — the snare or clap lands on beat 3 of a bar instead of beats 2 and 4, so the groove feels roughly half as fast as the tempo actually is.
- Sliding 808 — a deep, sustained bass tone that glides between pitches instead of jumping cleanly from note to note, doubling as both bassline and kick.
- Hi-hat rolls — bursts of rapid 32nd- or 64th-note hi-hats that break up an otherwise sparse pattern and add energy without adding more low end.
- Dark, minimal melody — short, moody plucked or bell-like phrases, often in a minor key, that repeat with little variation and leave space for the drums.
- Drop-and-space arrangement — sections built around contrast, with sparse intros and verses that clear out just before a hook hits at full density.
Tracks has everything this needs built in — the 808/909 drum machine for the rolls and snare, a subtractive synth for the sliding bass, a piano roll for writing it all, and a mixer with sidechain ducking for keeping the low end tight.
Step 1: Set your tempo
Open the Tracks studio and set the BPM in the transport bar. Trap tempos look fast on paper but are felt slow because of the half-time snare:
- Typical range: 130–150 BPM on the grid, which feels like 65–75 BPM at the half-time snare.
- 140 BPM is the most common trap tempo and a safe default if you're not sure where to start.
- Darker, slower trap sits closer to 130–135 BPM; brighter, more energetic trap pushes toward 145–150 BPM.
Set the tempo before writing the hi-hat rolls — the exact BPM changes how many 32nd notes fit in a roll and how frantic it feels.
Step 2: Program the half-time snare and kick
Add a track and open the drum machine. On a 16-step grid representing one bar, place the snare or clap on step 9 only — beat 3 — and leave beats 2 and 4 empty. This single placement is what gives trap its distinctive half-time pocket; skipping it and hitting every backbeat instantly makes a pattern feel like a different genre.
Place kicks in a syncopated pattern around the snare rather than locking to the downbeat every bar. A common approach is a kick on step 1, a second kick a sixteenth or eighth note before the snare hit to push into it, and an occasional kick late in the bar for variation. Loop the kick and snare alone for a few bars — the pattern should feel like it's dragging its feet slightly, not rushing.
Step 3: Program hi-hat rolls
Hi-hat rolls are what fills the space the sparse kick-and-snare pattern leaves behind. Start by placing closed hi-hats across the 16-step grid at a steady, moderate density — not every step, just enough to establish a pulse.
Then pick two or three spots per bar and turn a single step into a roll: subdivide that one sixteenth-note slot into three, four, or more even faster hits, tapering the velocity up toward the end of the roll so it feels like it's building into the next hit. Rolls that build in speed and volume as they approach a downbeat read as intentional; rolls with flat, unchanging velocity tend to sound mechanical. Vary where the rolls land from bar to bar so the pattern doesn't feel like it's on a fixed loop.
Open hats for accents
Sprinkle in the occasional open hi-hat on an off-beat step to add a splashy accent between rolls. Keep these rare — one or two per bar at most — so they read as a deliberate accent rather than clutter.
Step 4: Write a sliding 808 bassline
Add a new instrument track and open the subtractive synth. Set the oscillator to a sine wave, or a sine with a touch of saturation from the distortion effect for grit, and keep the filter open so the low end stays full and round.
Open the piano roll on the 808 track. Write a bassline that follows the root notes of your chord progression, holding each note for most of a bar rather than chopping it into short notes. Where two consecutive notes are a semitone or more apart, use a pitch glide between them instead of a hard cut — this continuous slide from one pitch to the next is the signature 808 sound, and it's what separates a trap bassline from a plain sub-bass part. Keep the pattern simple; one sliding note per chord change carries most trap basslines on its own.
Doubling as the kick
In many trap beats, the 808 note itself supplies most of the low-end punch and the kick drum sample is used mainly for its transient click. If your 808 and kick are clashing, try trimming the kick's low end with an EQ cut and letting the 808 carry the sustained low frequencies instead.
Step 5: Add a dark melodic loop
On a separate track, use a plucked synth patch, a bell-like FM tone, or a minor-key piano SoundFont to write a short, moody two- to four-note phrase. See SoundFont instruments explained if you want a realistic piano or bell sound rather than a synthesized one. Minor keys, and specifically the darker sound of a flattened second or sixth degree, are what give trap melodies their tense, moody character.
Loop the phrase with little to no variation across a whole section — trap melodies typically repeat rather than develop, since the energy of the track comes from the drums and arrangement rather than melodic movement. Voice the loop an octave or more above the 808 so the two elements occupy separate registers instead of colliding.
Step 6: Arrange with drops and space
Trap arrangements lean on contrast — the drums hitting hard only lands if something sparser came right before it. A common structure looks like this:
- Intro (4–8 bars): melody and maybe hats only, no 808 or full drum pattern yet.
- Verse (8–16 bars): full drum pattern enters, 808 slides underneath, melody continues.
- Pre-hook (2–4 bars): strip elements out — drop the hats or the 808 for a bar — to build anticipation.
- Hook / drop (8–16 bars): everything hits at once, hi-hat rolls at their busiest, 808 at its loudest.
- Bridge or breakdown (4–8 bars): pull back again before the final hook.
The exact bar counts matter less than the contrast: a beat that's dense the whole way through has nowhere left to build to. Use the Tracks timeline to duplicate and mute sections so you can audition different amounts of space before committing.
Step 7: Mix and export
Before you export, spend a few minutes balancing levels in the Tracks mixer:
- Compress the 808 track with a moderate ratio and a slower attack so the front of each slide stays punchy while the sustain gets evened out.
- If the 808 and kick are still fighting for room, try a light sidechain duck on the 808 triggered by the kick — see Sidechain compression explained for how to set it up in Tracks.
- Keep an eye on the hi-hat rolls; fast, dense hits add up quickly and can clip. A limiter on the drum bus, or on the master track, keeps the peaks from a busy roll from distorting.
- Send the melodic loop to a reverb bus for a bit of atmosphere, but keep it subtle so the loop stays rhythmically tight against the drums.
When the balance feels right at a comfortable volume, export to WAV for a clean master file or MP3 to share online — see How to export your song to MP3 or WAV for the full walkthrough. Your project stays in your browser the entire time; Tracks never uploads it anywhere.
Frequently asked questions
What BPM is trap music?
Most trap sits between 130 and 150 BPM on the grid, with 140 BPM the most common default. Because the snare falls in a half-time pattern, the track is usually felt closer to 65–75 BPM, which is why trap can sound both fast and laid-back at the same time.
Why does the snare only hit once per bar instead of twice?
Placing the snare or clap only on beat 3 is what creates trap's half-time feel. Hitting beats 2 and 4 as well turns the same tempo and drum sounds into a completely different, more upbeat-feeling groove — the half-time snare is one of the clearest signatures separating trap from other 130+ BPM styles.
How do I get the 808 slide effect without a dedicated 808 plugin?
Write the bassline in the piano roll with a sine-wave synth, then use a pitch glide between consecutive notes that are a semitone or more apart instead of leaving a hard cut. The glide time and the pitch interval both affect how dramatic the slide sounds — shorter glides and smaller intervals give a subtler slide, while longer glides across a wider interval give the classic swooping trap sound.
Do I need real 808 or trap drum samples?
No. Tracks' built-in 808 and 909 drum machines cover the core kick, snare, clap, and hi-hat sounds trap is built on, and the sampler lets you load your own one-shots if you want a specific sound. The genre is defined far more by the pattern — half-time snare, syncopated kick, hi-hat rolls — than by any one specific drum sample.
Start building your trap beat now
Drum machine, synth, piano roll, and mixer — everything you need, free in your browser, no account required.