Virtual Drum Kit — play drums online with MIDI e-drums, a pad controller or your keyboard

~/virtual-drum-kit drum machine piano metronome ☕ Support me apps ← about me
// virtual drum kit · web midi · no download · no signup
Virtual Drum Kit — play your e-drums or pad controller in the browser
Plug in Roland, Alesis or Yamaha e-drums, an Akai MPD, a Launchpad or any MIDI pad controller and play a full kit with real velocity, a hi-hat pedal (CC4) and cymbal chokes. No controller? Play with your keyboard, mouse or fingers. Record a take and export it as MIDI or WAV.
KitStudio
Last hit—
Velocity—
Hi-hatclosed
MIDIoff
StatusREADY
No MIDI device connected yet. Press Connect MIDI (Chrome, Edge, Opera or Firefox; Safari has no Web MIDI).
SoundKeyMIDI notesHitsLast velocity

Guide — play your e-drums in the browser in five steps

No driver, no download, no account. Works with a USB e-drum kit, a pad controller or just your keyboard.
1Plug in your kit

Connect your e-drum module or pad controller with a USB cable, or through a USB-MIDI interface. Then press Connect MIDI and allow MIDI access.

2Check the preset

Roland, Alesis Nitro and Yamaha DTX kits and pad controllers are detected by name. Otherwise pick General MIDI (most other kits) or Pad controller.

3Fix any pad with Learn

Press Learn, click the drum on screen, then hit the pad on your kit. Its note is now mapped to that sound.

4Choose a kit and play

Studio, Big rock, Jazz, Funk, Metal, Vintage 70s, Ambient room, TR-808, TR-909 or Lo-fi. Velocity, hi-hat pedal and cymbal chokes work like on a real kit.

5Record and export

Press ● Rec and play. Stop, then save the take as a MIDI file for your DAW or as WAV audio.

What you can play with

E-DRUMSElectronic drum kits

Any kit with a USB-MIDI port or MIDI out.

Roland
TD-02, TD-07, TD-17, TD-27, TD-50 (V-Drums preset)
Alesis
Nitro Mesh (Alesis preset); Turbo, Surge, Strike (General MIDI or Learn)
Yamaha
DTX402, DTX432, DTX452 (Yamaha preset); DTX6, DTX8 (General MIDI or Learn)
Others
Millenium, Donner, Simmons: General MIDI or Learn
PADSPad controllers

16 pads starting at note 36 (C1) are mapped to a full kit.

Akai
MPD218, MPD226, MPK Mini pads, MPC
Novation
Launchpad in Drum mode
Others
Ableton Push drum rack, Arturia BeatStep, Korg nanoPAD, Native Instruments Maschine (or use Learn)
NO KITKeyboard, mouse and touch

Every sound has a key, and you can click or tap the drums.

Hands
A hi-hat · S snare · D F G toms
Cymbals
Q open hat · W R crash · H ride
Feet
X or Space kick · Z hi-hat pedal
Accent
hold Shift for a full-velocity hit

A virtual drum kit for MIDI, explained

This free virtual drum kit turns your browser into a drum sound module. Connect an electronic drum kit or a MIDI pad controller and every hit plays a drum or cymbal on screen, with the dynamics of your playing. It uses the Web MIDI API to read your controller and the Web Audio API to play the sounds, so nothing is installed and nothing is uploaded. Nothing is downloaded or sampled: every sound in the ten kits is calculated by your browser the first time you pick a kit, in background threads so the page stays responsive.

How do I connect my electronic drum kit?

Most modern e-drum modules are class-compliant USB-MIDI devices: plug the USB cable into your computer and they work without a driver. Older kits with a 5-pin MIDI OUT socket need a USB-MIDI interface. Open this page in Chrome, Edge, Opera or Firefox, press Connect MIDI and allow access when the browser asks. The device name appears under the MIDI setup tab. Close other programs that use the kit (a DAW or the maker's app) if it does not show up, because on Windows a MIDI device can often be used by only one program at a time.

Which preset should I choose?

The page reads the device name and picks a preset for Roland modules and common pad controllers. You can change it at any time.

PresetForWhat it adds
General MIDIAlesis, Yamaha DTX, most budget kitsStandard GM drum notes: 36 kick, 38 snare, 42/46 hi-hat, 49 crash, 51 ride
Roland V-DrumsTD-02 up to TD-50Rim and edge notes: 40 rimshot, 22/26 hi-hat edge, 55/52 crash edges, 59 ride edge, 58 floor tom rim
Alesis Nitro MeshNitro Mesh kit and moduleThe default notes from the Alesis manual: 40 snare rim, 47/50/58/39 tom rims, 23 half-open hi-hat, 21 splash, 57 second crash
Yamaha DTX 400 seriesDTX402, DTX432, DTX452The default notes from the Yamaha reference: 38 snare head, 40 open rim, 37 closed rim, 48/47/43 toms, 51 ride, 49 crash, 46/42/44 hi-hat
Pad controllerMPD, Launchpad, Push, MPC, nanoPAD16 pads from C1 (36) laid out as a kit: kick and snare bottom left, cymbals on the top row
CustomAnything elseYour own mapping made with Learn, saved in this browser and as a JSON file

How does the hi-hat pedal work?

An e-drum hi-hat sends two kinds of messages. A hit on the cymbal is a note, and the pedal position is a controller change on CC4, from 0 to 127. The virtual kit follows CC4: with the pedal up a hit sounds open, half pressed it sounds half-open and with the pedal down it sounds closed. Closing the pedal also cuts off a ringing open hi-hat, and on most kits a firm pedal press sends note 44, which plays the pedal "chick". If your hi-hat works backwards, tick invert hi-hat pedal in the Mixer & feel tab.

Does it respond to velocity and cymbal chokes?

Yes. MIDI velocity runs from 1 to 127 and changes much more than the volume. Every sound is built in three velocity layers, soft, medium and hard, with a few round-robin variations of each, and the page cross-fades between the layers as you play harder. A soft ghost note on the snare is darker, shorter and has quieter snare wires than a full rimshot backbeat, and a hard crash is brighter and denser than a light one. Repeated hits never sound exactly the same. Four velocity curves let you match the feel of your pads: soft for light players, hard for more control at the top, fixed for a pad controller without dynamics. A cymbal choke (grabbing the edge) arrives as polyphonic aftertouch and stops the cymbal, just like on the module. Weak hits from crosstalk between pads can be ignored with the threshold slider.

What does the MIDI monitor show?

The MIDI monitor tab is a MIDI tester for your kit. Every incoming message is listed with the time, type, channel, note number and name, velocity and the sound it plays. Unmapped notes are shown in red. Use it to find out which note a pad sends, to see if the hi-hat pedal sends CC4, or to check for double triggers and crosstalk. The mapping table also counts the hits per pad and shows the last velocity, which helps when you set the sensitivity on your drum module.

What about latency?

The time between a hit and the sound is the delay of the drum module, the USB connection, the browser and your audio output added up. With wired headphones or speakers on the computer this is usually low enough to play comfortably; the monitor tab shows the browser's own output latency. Bluetooth headphones add 100 to 300 ms and make drumming hard, so use a cable. On Windows, a USB audio interface often has a lower latency than the built-in sound card.

Recording and exporting

Press ● Rec: recording starts on your first hit, so there is no silence at the start. With the click (metronome) on, recording starts on beat one instead, and the MIDI file lines up with the bar lines in your DAW. Every hit is stored with its exact time and velocity. Export the take as a Standard MIDI File with General MIDI drum notes on channel 10, ready for a drum track in Ableton Live, Logic, FL Studio, Cubase, Reaper or GarageBand, or as a 16-bit WAV file rendered with the kit, mixer and room you chose.

How the sound is made

The drums are modelled, not recorded. A drum head is built from the vibration modes of a circular membrane, which gives a tom or snare its pitch glide, its beating overtones and the ring of the bottom head. Snare wires are filtered noise that rattles in time with the head. Cymbals and hi-hats are banks of inharmonic partials with slightly detuned pairs that shimmer, plus noise bands and a stick tick, and the open hi-hat flutters like a real one. Each kit is a set of settings for these models: tuning, damping, brightness and size. The calculation runs in background threads, the first usable version of a kit is ready after a second or two and the rest of the layers and variations follow while you play. Because the sounds are synthesised they are not identical to a recording of a real kit, but the page needs no extra files.

Mics, room and tuning

The sounds go through a small virtual studio. Each drum is sent to a close mic, to a pair of overhead mics that put the cymbals and hi-hat wide in the stereo field, and to a room mic with a reverb that differs per kit: dry for funk and the drum machines, a studio room for most kits and a large hall for the ambient kit. The close mic, overheads and room level are in the mixer, together with a group fader per drum type, tuning for kick, snare and toms of up to four semitones, and a saturation control for tape-style warmth. A compressor and a limiter keep loud passages clean.

The ten kits

Does it work on a phone or tablet?

Yes, with touch: switch to the Pads view for big pads and play with several fingers at once. Android with Chrome also supports USB-MIDI controllers through an OTG adapter. Safari on iPhone and iPad does not support Web MIDI, so there you play with touch only.

More music tools

Program your own beats with the Drum Loop Studio drum machine, play along with the Drum Pad Looper, keep time with the metronome and BPM counter, or play a MIDI keyboard on the online virtual piano. Everything is listed on the music tools page.