Before using the Online Drum Machine, know that it is a focused 16-step sequencer for kick, snare, and hi-hat at a whole-number tempo from 40 to 240 BPM, with no swing, triplets, velocity, accents, per-track volume, effects, recording, export, or MIDI.
This narrower purpose makes it useful for learning step sequencing, sketching a straight sixteenth-note pulse, or testing a basic loop without installing software. It is not a digital audio workstation, and its browser-based sounds are intentionally simple rather than realistic recordings of a full drum kit. Knowing those boundaries before you begin prevents you from planning a finished track around features the tool cannot provide.

Know the boundaries before you start
The grid always covers four quarter-note beats divided into sixteen equal sixteenth-note steps. Each of the three tracks can be switched on or off independently, so the starting point is a 48-cell pattern editor rather than a collection of interchangeable drum kits.
- Use one kick, one snare, and one hi-hat track.
- Build straight sixteenth-note patterns; swing and triplets are outside this version.
- Play in the browser; there is no recording, audio export, or MIDI connection.
- Run without an account, uploaded audio, external sample file, or downloaded sample library.
| Area | Supported behavior | What to plan for |
|---|---|---|
| Rhythm grid | Four quarter-note beats and sixteen equal sixteenth-note steps | Straight patterns in a fixed four-beat bar |
| Drum voices | Kick, snare, and hi-hat | Three parts rather than a full kit |
| Tempo | Whole numbers from 40 to 240 BPM | Invalid entries produce a recoverable error |
| Sound creation | Local synthesis through browser Web Audio | Tone can differ across browsers and output devices |
| Output | Browser playback | No recording, export, or MIDI synchronization |
If your goal is production arrangement, rendered stems, or a finished recording, use this sequencer to develop the pattern concept, then move that concept to a dedicated music application.
Interpret BPM and the 16-step grid correctly
The tempo control follows the W3C MusicXML tempo definition: BPM means quarter notes per minute, not sixteenth-note steps per minute. Because four sixteenth-note steps divide each quarter note, the step duration is 60 ÷ BPM ÷ 4 seconds. The moving playhead wraps after step 16 and returns to step 1.
That distinction matters when matching a loop to another quarter-note pulse. A larger BPM value makes each step shorter; it does not increase the number of grid positions or change the four-beat bar.
Worked example at 120 BPM: each quarter note lasts 60 ÷ 120 = 0.5 seconds, each sixteenth-note step lasts 60 ÷ 120 ÷ 4 = 0.125 seconds, and the full 16-step bar lasts 16 × 0.125 = 2 seconds.
The tempo field is strict. It accepts only whole numbers from 40 through 240. Empty entries, decimal fractions, signs, exponent notation, unit text, and out-of-range values show a recoverable error, which you can correct by entering a valid integer and pressing Play again.
Changing the BPM during playback deliberately stops the current run and releases its audio context. Press Play after the valid value is applied to restart cleanly at step one. By contrast, pattern edits remain available during playback and are read by the upcoming scheduling window, so you can keep changing cells without restarting the loop.
Know what the synthesized voices sound like
All three voices are synthesized at playback time with browser Web Audio nodes, as described by the W3C Web Audio API. The kick is a short sine oscillator whose falling frequency and decaying gain create a compact bass hit. The snare uses a newly generated noise buffer passed through a high-pass filter and gain envelope. The hi-hat uses a shorter, quieter noise burst with a higher high-pass cutoff.
These are deliberately simple synthetic sounds, not recordings of physical drums. Their exact tone can vary slightly with browser audio implementation, output hardware, sample rate, and the random noise created for each snare or hi-hat hit. The tool does not load a third-party sample pack, so there is no sample-host connection or inherited sample license to consider. No audio is uploaded, and the kick, snare, and hi-hat are generated locally.
Keep your device volume moderate, particularly when using headphones. Synthesized transients can seem louder on some output systems, so begin at a comfortable level before pressing Play.
Prepare the browser and output
Playback depends on browser Web Audio and a user gesture. The AudioContext is created only after Play is pressed, so opening the page alone should remain silent.
- Allow browser audio, and raise the device or system output only to a comfortable level.
- Keep the tab active when you need to monitor the loop; suspended tabs and heavy throttling can affect what you hear.
- Avoid changing output devices while playing, because device changes can interrupt or alter playback.
- On a narrow screen, use the horizontal grid area rather than expecting all 16 columns to fit at once.
- Each grid button exposes an on or off pressed state and a descriptive label, while reduced-motion preferences disable color transitions.
If browser audio initialization or event scheduling fails, the tool reports a recoverable message and allows another Play attempt instead of continuing with a false playing state.
Build and play a beat in the Online Drum Machine
Use this sequence to move from the default beat to a controlled loop:
- Open the Online Drum Machine. It starts with a simple four-on-the-floor example: kick on quarter-note positions, snare on beats two and four, and closed hi-hat on eighth-note positions. Keep it or replace it one cell at a time.
- Set the tempo before building. Enter a whole number from 40 to 240 and confirm that the field no longer shows an error.
- Edit the pattern on the 16-step grid. Click or tap a kick, snare, or hi-hat cell to turn that instrument on or off for the corresponding sixteenth-note step.
- Set your device volume to moderate, then press Play. The moving step outline shows the current position while the generated rhythm loops from step 1 through step 16.
- Refine the pattern while it plays. Toggling a cell changes the active pattern for the upcoming scheduling window, allowing you to experiment without stopping the run.
- If you change the BPM, expect playback to stop and its audio resources to be released. Press Play again once the new whole-number tempo is valid; the fresh run begins at step one.
- Press Stop when you want silence and released playback resources. Choose Clear pattern to turn off all 48 cells and begin again from silence.
Judge timing by the right standard
Playback uses a look-ahead scheduler rather than using JavaScript timer callbacks as the audible beat clock. A lightweight browser timer checks every 25 milliseconds and places upcoming events as much as 100 milliseconds ahead on the AudioContext timeline. The sounds start at their scheduled Web Audio times, which reduces ordinary main-thread timing jitter.
This is still a compact sequencer, not an AudioWorklet engine, digital audio workstation, or guarantee of identical rendering across devices. Heavy browser throttling, suspended tabs, output-device changes, high system load, and operating-system audio latency can still affect what you hear. The tool provides no sample-accurate cross-device synchronization, exact inter-device timing, latency calibration, or background-tab guarantee.
Choose the right job for this tool
The best uses are narrow but practical:
- Learn step sequencing: see how kick, snare, and hi-hat placements form repeating sixteenth-note patterns.
- Sketch a pulse: test a simple loop against a chosen quarter-note tempo.
- Try a rhythm idea: replace the default beat one cell at a time and judge the result immediately.
- Prototype timing: check the relationship among BPM, quarter notes, sixteenth-note steps, and a four-beat bar.
For production arrangement, rendered stems, advanced timing, or a finished recording, move the pattern concept to a dedicated music application. This version does not export audio, so treat it as a place to develop and test the beat rather than deliver the final stems.
Complete a final pre-use check
Before pressing Play, make these final checks:
- The required feature set is a straight 16-step, three-voice browser loop.
- The tempo is a whole number from 40 through 240.
- Your device volume is moderate and browser audio is enabled.
- You do not need swing, triplets, accents, effects, recording, export, or MIDI.
- You will judge timing as a browser preview, not an inter-device synchronization guarantee.
- You understand that sound generation is local but tone is not identical across every setup.
Once those points are clear, the tool provides a straightforward way to learn the grid and develop a basic loop without handling sample files or external audio.
For a deeper look, see What Should I Review After I Use an Online Drum Machine?.
For a deeper look, see When Should I Use an Online Drum Machine for Beat Ideas?.