Install Beat Grid & Loop Slicer on its dedicated origin as an offline desktop or mobile PWA
with OS audio/* file handlers and self-scoped microphone capture.
Honest cache note: browsers isolate Cache Storage per origin, so beats.webai.show stores its own
~191.2 MB weights. Staying on webai.show shares Spotify Basic Pitch with the model catalogue.
Probing Backend
Checking WebGPU adapter and CPU WebAssembly availability for Beat This! (190.91 MB) and Basic Pitch (0.3 MB)…
Synthesized 120 BPM House (4/4) locally via Web Audio. Audition immediately or run Beat This! + Basic Pitch on-device.
Zero audio uploaded · Procedural 22.05 kHz synthesis · Drop any .wav, .mp3, .ogg, or .webm file
Bar-Trimmed & Quantized Export
Module 01 · AI-Snapped Loop Slicer
4×4 MPC Bar/Beat Pads
Awaiting Beat Grid
Run Beat This! to map all 16 pads onto exact bar-1 downbeats and beats.
Module 02 · Stage 2 Basic Pitch (0.3 MB)
Beat-Quantized MIDI Notes
Not Transcribed
Run analysis or Basic Pitch MIDI to extract polyphonic chords and bass lines.
Local AI Engine
Two neural audio ONNX models (~191.2 MB total) running strictly off the main thread in isolated FIFO Web
Workers via onnxruntime-web 1.21.0 — WebGPU accelerated with automatic CPU WebAssembly fallback.
Producers and sample-based musicians need beat-accurate loop boundaries and bar-1 phase locks before chopping
a sample or quantizing MIDI. Beat Grid & Loop Slicer pairs JKU's Beat This! rotary transformer with
Spotify Basic Pitch strictly inside your browser tab.
1. Beat This! Neural Beat & Downbeat Tracker
musetric/beat-this-onnx (MIT, 20.25M params, static 1500-frame rewrite of
CPJKU/beat_thisfinal0) ingests 22.05 kHz mean-downmixed mono audio converted
to 128-bin log-mel spectrograms (n_fft = 1024, hop = 441, periodic Hann,
reflect-padded, magnitude / 32 projected onto mel-filterbank.bin, log1p(1000·x))
and predicts 50 fps beat and downbeat logits across [1, 1500, 128]
windows with keep_first border overlap.
2. Spotify Basic Pitch Polyphonic MIDI
Reuses Basic Pitch Music Transcription
(spotify/basic-pitch, 0.3 MB fp32, Apache-2.0) via its audited sibling CPU WASM worker.
Takes raw 22.05 kHz audio in 43,844-sample windows to emit 88-key polyphonic note and
onset activations (MIDI 21–108), which we quantize directly onto Stage 1's neural beat grid.
3. Zero-Latency Web Audio Slicing & Exports
All 4 starter grooves are synthesized deterministically on the fly via pure Web Audio DSP (zero committed
.wav/.mp3 fixtures). Clicking any of the 16 MPC pads plays the exact AI-snapped
bar/beat window with a 4 ms de-click envelope and optional lookahead Web Audio metronome clicks on Beat 1
(1400 Hz) and Beats 2–4 (900 Hz).
Show the code — analyzeAudio() Beat This! 1500-frame chunk inference & WebGPU/WASM workerShow the code — computeLogMelSpectrogram() 22.05 kHz reflect-padded Hann STFT & log1p(1000·mel)Show the code — postprocessBeatLogits() minimal peak picking, parabolic refinement, BPM & meterShow the code — buildLoopSlices() AI downbeat/beat snapping for the 4×4 MPC pad bankShow the code — encodeStandardMidi() binary Standard MIDI File Format 0 with tempo & meterShow the code — StageWorkerClient FIFO queue & lifecycle-safe multi-worker client