Skip to content

Rythmik

  • JavaScript
  • Web Audio API
  • Vite
  • Vitest

Make beats in your browser, then rap over them. A step sequencer with a synthesized drum kit and 808, a recording booth with voice effects and a remix deck for your own songs. No samples, no backend, no sign-up.

Intro

The problem

Making beats and recording a verse usually means installing software, making an account or buying a sample pack.

Mission
Give anyone a beat machine and a rap booth that open in a browser tab: nothing to install, no account, and the sound never leaves your computer.
Built with
JavaScript, Web Audio API, Vite, Vitest
My role
Design, audio engine and app, end to end · 2026
Synthesized sounds
16
Genre presets
35
Lines of JavaScript
15.2k
Test files
20
Commits
30

What I built

Rythmik is a beat maker and rap booth that runs entirely in the browser. You pick a preset or start from an empty grid, tap pads, record your voice over the loop and export the song as a WAV file.

  • Beat: a 16 or 32-step sequencer with up to 16 tracks, A/B sections, velocity, hi-hat rolls, chance, flam, swing, and Humanize, Randomize and Auto fill
  • Sounds: 16 drums synthesized in code (kick, snare, hats, toms, congas, an 808 and an amapiano log drum), with no sample files
  • Presets: 35 grooves across hip-hop, afro, latin, electronic and Rythmik originals
  • Samples: record a sound, load a file or cut a word from a take, then chop, trim, pitch and play it as a track
  • Booth: record over the looping beat with a count-in, keep several takes, add voice effects (Robot, Tuned autotune, Radio, Hall, Lo-fi)
  • Remix: load your own song, loop any part, slow it down with reverb or speed it up, detect its tempo and rap over it
  • For beginners and pros: a "?" on every control, a first-visit tour, and one Advanced switch for the deeper settings

Engineering notes

The audio engine has no DOM code: a look-ahead scheduler keeps the beat in time, and its clock runs in a small Worker so it holds tempo in background tabs. Mic capture uses an AudioWorklet with latency compensation. Tests render audio offline in Node and check for silence, clipping and timing.

The stack

Vanilla JavaScript and the Web Audio API, built with Vite and tested with Vitest. The production build is plain static files, served by nginx.

More projects