use case · multi-model · Beat This! ONNX (190.9 MB · MIT) → Spotify Basic Pitch (0.3 MB · Apache-2.0) · 191.2 MB total

2-Stage Beat-Quantized Melodic MIDI: 191.2 MB Total

Stage 1 (musetric/beat-this-onnx, 190.91 MB fp32 CPU WASM, MIT) locks onto exact BPM, meter, and Bar-1 downbeats, then Stage 2 (reused built ../../basic-pitch-transcription/worker.js, spotify/basic-pitch, 0.3 MB fp32 CPU WASM, Apache-2.0) transcribes polyphonic musical notes at the shared 22.05 kHz sample rate and snaps them onto the detected bar grid — comparing Unquantized Raw Notes against Beat-Quantized Bar-Aligned MIDI.

1 · Two isolated audio ONNX workers (191.2 MB combined)

Stage 1 · Beat This! Downbeat Clock (190.9 MB fp32 · MIT)

musetric/beat-this-onnx · 50 fps neural beat & downbeat tracker (../worker.js).

Stage 2 · Spotify Basic Pitch MIDI (0.3 MB fp32 · Apache-2.0)

spotify/basic-pitch · Reused 88-key polyphonic note transcriber (../../basic-pitch-transcription/worker.js).

2 · Beat Clock → Polyphonic Note Transcription → Bar-Quantized MIDI

Initialise the 2-stage Beat + MIDI Pack above (191.2 MB total) to align polyphonic notes onto detected bars.

Combined Size191.2 MB
Stage 1 Beat Clock–
Stage 2 Basic Pitch–
Notes · Downbeat Hits–
Mean / Max Snap Δ–
NaN (S1 / S2)–
Comparison of raw unquantized note timestamps versus Beat This! bar-quantized note positions
Note MIDI Raw Start (s) Quantized Start (s) Snap Offset Bar.Beat Velocity
Run the 2-stage pipeline (or Stage 2 alone) to inspect raw vs bar-quantized notes.

3 · Inspect Basic Pitch worker reuse & beat-grid quantization code

Show the code · beat-this.js — BasicPitchStage2Client (reusing ../basic-pitch-transcription/worker.js)
Show the code · beat-this-core.mjs — quantizeNotesToBeatGrid() (bar-aligned subdivision snapping)