To repeat the same rhythmic result in an online drum machine, keep the 16-step pattern and whole-number tempo unchanged, then press Play again so the loop restarts from step one. In the Online Drum Machine, repetition is controlled by three things: which kick, snare, and hi-hat cells are active; the selected BPM; and a clean restart after stopping. The grid represents four quarter-note beats divided into sixteen sixteenth-note steps, so the same active cells recur in the same order on every pass. Leaving the pattern alone and replaying it therefore reproduces the rhythm and its intended timing. The sound itself is synthesized locally, so do not expect a downloaded sample to be bit-for-bit identical: browser audio implementation, output hardware, and newly generated noise can cause slight tonal differences. For a dependable repeat, write down or remember the BPM and active-cell positions, avoid changing either between takes, press Stop before altering the tempo, and start again only after the new value is accepted. The moving outline confirms the playhead position, while the pressed state on each grid button shows which cells are active. This focused sequencer is designed for straight sixteenth-note loops, basic pulse studies, and quick pattern ideas rather than captured or exported productions.

What “the same result” means here
Repetition has two layers here: pattern and rendered tone. With the same active kick, snare, and hi-hat cells and the same BPM, the sequencer schedules the same step order and spacing on every pass, so the rhythm is repeatable. The sound is less exact. The kick uses a short enveloped sine oscillator, while the snare and hi-hat use newly generated noise with high-pass filtering. Because those sounds are synthesized locally at playback time, browser implementation, output hardware, sample rate, and fresh random noise can produce slight tonal differences. A reliable repeat therefore means matching the rhythm and timing, not matching a sample-identical waveform.
Build and replay the 16-step loop
- Open the Online Drum Machine. It runs in the browser and requires no account, upload, external audio file, or sample library.
- Set the tempo to a whole number from 40 to 240 BPM. This is the tempo you intend to keep for the repeat.
- Use the opening pattern as a reference. It starts with kick on the quarter-note positions, snare on beats two and four, and a closed hi-hat on the eighth-note positions; replace it one step at a time.
- Click each kick, snare, or hi-hat cell to toggle it on or off. The finished grid should contain only the hits you want repeated.
- Press Play. The loop begins at step one, and the moving step outline shows the current position while the synthesized rhythm continues.
- Let the pattern run for at least one complete 16-step pass, checking that the intended hits occur on the intended cells.
- Press Stop to release the audio, then press Play again without changing the BPM or active cells. A new run starts cleanly at step one.
- Use Clear pattern only when you want to discard the arrangement. It turns off all 48 cells; ordinary stopping does not require clearing the grid.
To compare two versions, note the target BPM and active-cell positions first. Stop before editing, finish the changes, and then start a fresh playback run so an already scheduled event at the old tempo cannot be confused with the new setup.
Lock the tempo before pressing Play
Tempo input is strict: only whole decimal numbers from 40 through 240 are accepted. Empty fields, decimal fractions, signs, exponent notation, unit text, and out-of-range values produce a recoverable error rather than an accepted tempo. Correct the field and continue. Entering the tempo before the first Play avoids an interruption, because changing it during playback stops the current run and releases its audio context.
The grid always represents four quarter-note beats divided into sixteen equal sixteenth-note steps. Its BPM meaning is quarter notes per minute, matching the convention documented in the MusicXML sound-element documentation. A quarter note lasts 60 ÷ BPM seconds, so one sixteenth-note step lasts 60 ÷ BPM ÷ 4 seconds. At the default 120 BPM, 60 ÷ 120 ÷ 4 = 0.125 seconds per step, and 16 × 0.125 = 2 seconds for one complete pass. Keeping the same BPM therefore keeps the intended spacing of every cell.
If you change BPM while sound is playing, the tool stops playback instead of blending two tempos. After a valid value is entered, press Play to begin cleanly at step one. For a controlled A/B comparison, stop first, set the target tempo, and then replay; do not treat the interrupted run as part of the repeat test.
Keep the playback run consistent
Playback timing uses the Web Audio API specification and an AudioContext timeline. A browser timer checks every 25 milliseconds and places events up to 100 milliseconds ahead, while each audible source starts at its scheduled AudioContext time rather than at a JavaScript timer callback. This look-ahead approach reduces ordinary main-thread timing jitter. It does not make the tool a digital audio workstation or AudioWorklet engine, and it does not guarantee identical rendering on every device.
You can edit pattern cells during playback, and the sequencer reads active-track snapshots in an upcoming scheduling window. That is useful for live experimentation, but it is not the cleanest way to compare two versions. Stop, complete the edits, and restart from step one when the pattern and tempo must remain fixed.
Heavy browser throttling, suspended tabs, device changes, high system load, and operating-system audio latency can still affect what you hear. Keep the tab in the foreground, avoid changing output devices mid-run, and use the same browser and hardware when a close comparison matters. The tool also creates its audio context only after Play, and a recoverable initialization or scheduling error allows another Play attempt.
Compare the parts of a repeatable loop
These controls determine whether another playback produces the same rhythm and how closely it can resemble the previous run.
| Control | Repeat behavior | Practical action |
|---|---|---|
| Pattern cells | The same active cells produce the same order of kick, snare, and hi-hat hits. | Finish all cell edits before starting the comparison run. |
| BPM | The same accepted whole number gives the same intended spacing between steps. | Enter one valid value from 40 to 240 and leave it unchanged. |
| Start position | A clean playback run begins at step one. | Press Stop and then Play after changing the tempo. |
| Synthesized sound | Each run generates its kick, snare, and hi-hat locally, so timbre can vary slightly. | Compare the musical pattern and timing rather than expecting identical waveforms. |
| Reset control | Clear pattern turns off all 48 cells. | Avoid Clear when you want to preserve the target arrangement. |
| Playback environment | AudioContext scheduling reduces timer jitter, but system and device conditions can still affect playback. | Use a foreground tab and avoid changing output hardware during the test. |
For most repeat checks, freeze four inputs: active cells, BPM, a clean start at step one, and the playback environment. The first two define the beat, while the latter two make the comparison easier to interpret. If the pattern sounds wrong after a repeat, check those inputs before changing synthesis settings; this focused tool has no per-track volume, effects, or swing controls to adjust.
Use a controlled repeat routine
- Write down the target BPM and mark the active cells in each row. A screenshot or simple text map helps because this version does not export or record.
- Set those values before pressing Play. Leave the tempo field unchanged once playback begins.
- Keep the device volume moderate before starting, especially with headphones, because synthesized transients can sound louder on some output systems.
- Run the loop in the foreground for one complete pass without changing tabs, devices, or system settings.
- Press Stop, confirm that the BPM and cell states have not changed, and press Play for the repeat run.
If the second pass differs rhythmically, check for an accidental cell toggle, a changed tempo value, or a playback interruption. If the beat structure matches but the tone sounds different, the cause is likely the regenerated synthetic sound or the listening environment rather than the pattern itself.
Know where exact repeatability stops
This focused Online Drum Machine provides a straight 16-step loop with three synthesized voices rather than a full production workstation. Its practical limits directly affect what can be repeated:
- Rhythm features: Swing, triplets, velocity, accents, per-track volume, and effects are not supported.
- Workflow features: Recording, export, and MIDI synchronization are outside its scope, so the pattern cannot be moved into another track automatically.
- Timing guarantees: The tool does not promise sample-accurate synchronization across devices or dependable background-tab playback.
- Grid scope: The sequence remains divided into four quarter-note beats and sixteen sixteenth-note steps; arbitrary time signatures are unavailable.
For production arrangement, rendered stems, exact inter-device synchronization, or latency calibration, transfer the pattern concept to a dedicated music application. For a basic pulse or sixteenth-note sketch, preserving the grid, keeping the BPM stable, and restarting from step one provides the clearest repeat.
For a deeper look, see How Do I Repeat the Same Result With an Online Metronome.
For a deeper look, see Simplify the Process of Using an Online Drum Machine.