Repository navigation
Drum Kit v2.0
A realistic drum kit you can play in your browser. Every sound is synthesized live with the Web Audio API and every drum is drawn in code (SVG and CSS): no audio files, no images, no icon packs. Works on desktop, tablets and phones, with touch, mouse or keyboard.
▶ Play it: https://drummingkit.vercel.app
What's new in v2.0
Recording
- 3-2-1 countdown in the middle of the screen before recording starts (4-3-2-1 with the metronome), with quiet clicks and a red REC flash
- Live first take: the recording panel opens as soon as you press Rec and fills in from left to right as you play
- Up to 3 layers on top of your first take, each in its own row; empty rows are reserved, so the kit never jumps as you add layers
- Download as WAV: saves the full recording, all layers, as a stereo 44.1 kHz WAV file with your kit, EQ and volume. It is made in the browser; nothing is uploaded
- 2-minute limit, shown on the Rec button ("Stop 0:12 / 2:00")
Recording panel redesign
- The player (time, Play/Stop, Loop) sits on the right, with Download and Delete beside it
- Layers always read left to right, with marks that glide smoothly when the timeline grows
- A small caret links the panel to the Rec button; the panel folds to one line when you need room
- On phones held sideways, the panel becomes a column beside the kit, so the drums keep their full height
Pad grid view (new)
- Switch between Drums and Pad grid at the top of Customize
- The same kit as big tiles grouped by role: cymbals, toms, hi-hats, snare and kick
- Each tile has a line drawing of its instrument, its key in the corner, and lights up in its own colour when hit
- Fits any screen: wide rows on desktop, a tall grid on upright phones; works with Studio, Electronic and Jazz kits
Metronome
- Moved into the ⋮ menu as a switch, with its tempo control
- While it runs, a small chip with a blinking beat light sits next to Rec; tap it to turn the metronome off
Phones and tablets
- One-row toolbar on phones; upright tablets get the full desktop layout
- Concert mode now works on every screen, with a crowd strip above the kit on upright phones
- On phones, Learn and Concert take turns so the kit stays big; the recording panel folds during lessons
- The lesson bar gets a ⋮ menu for Demo, Click and Speed, and a shorter info line
- One-time tips: turn the phone sideways for a bigger kit or beat grid
Learn
- During a lesson, drums the lesson does not use stay silent, with a short note naming the drums it uses
- The metronome click can be switched off during the Demo too, and the change applies instantly
Design and accessibility
- One button height (32 px) everywhere, with 44 px tap areas on touch screens
- Every saffron button uses dark text, readable in both light and dark mode
- Sizes in rem and breakpoints in em, so the layout follows the browser's text size
- Clear recording state: REC badge, red Stop, red first-take row and a red line along the top of the kit
v1.0 (first release)
- Three kits: Studio (acoustic), Electronic and a small Jazz kit, each with its own synthesized sounds
- 11 pads with generous hit areas: multi-touch, mouse and keyboard (Space, S, J, K, L, A, Z, Q, O, W, P)
- Hover and Tap modes: in Hover, sliding over the drums plays them
- Customize: kits, a master 3-band EQ with presets, eight looks (Hot Rod, Dragon, Neon Synthwave and more), floors and backgrounds, and drumsticks that play along, with grips, tips, chains, stickers and lights
- Recording with Play, Loop and layers
- Learn: step-by-step lessons and style beats (funk, disco, reggae and more) with a beat grid, scoreboard, Demo, Step by step mode and speed control
- Concert mode (computers and tablets): a crowd and stage lights that react to your playing
- Focus mode, light and dark themes, and a How to play guide
- Safe by design: lights flash at most twice a second and can be switched off; security headers on every page
Built with
Vite, plain JavaScript and the Web Audio API. Fonts: Outfit and DM Serif Display (SIL Open Font License). Made by Mehul Varshney with Claude.