Sound × AI
A techno groove machine in the browser. It writes a track, plays it through recordings of real drum machines and rooms, and gives you the loop, stems, MIDI or a whole Ableton Live set to finish it in your DAW.

Pick one of eight styles and it writes a full track, up to about six minutes. You can mute, lock or rewrite each part, click notes in or out, and export WAV, AIFF or FLAC, stems, MIDI or an Ableton Live 12 set.
- 9,248: riffs it trained on, split by artist from 13,502
- 1.24: loss on unseen artists (n-gram baseline 1.56)
- 289: tests, run in CI on every push to main
- 0: backend or ML runtime
How it's built
Groove, the main style, is written by rules I drew from measuring the structure of twelve reference records. In the other seven styles the sequence line comes from a GRU I trained from scratch in NumPy, with backprop through time and Adam written by hand. I split 13,502 MIDI riffs by artist and trained on 9,248, so it's tested on artists it never saw, and it beats an n-gram baseline picked on validation (1.24 vs 1.56 nats, lower is better). My first version had memorised 20 hand-written motifs, so I rebuilt it. The forward pass runs in TypeScript in the browser. The sound comes from my own Web Audio engine, CC0 recordings and two measured rooms, with the mix matched to commercial records by measurement. The WAV, AIFF, FLAC, zip and Live set writers have no dependencies.
Built with React 19, TypeScript, NumPy, Web Audio API, Vitest