CASE STUDY / REPOSITORY-VERIFIED
beatrice
A desktop instrument that turns beatbox audio into an editable arrangement.
- project
- beatrice
- what
- A desktop instrument that turns beatbox audio into an editable arrangement.
- stack
- Rust · Tauri · React · WebAudio · WASM · SQLite
- year / status
- 2026 / active

Beatbox in. A synth arrangement out.
TREATED REAL DEMOproblem
Beatrice takes a recorded or live beatbox performance and carries its rhythm through sound classification, tempo estimation, quantization, harmonic arrangement, playback, and export. The repository keeps offline, compose-quality analysis separate from a causal streaming detector because those paths have different timing constraints.
how it works
proof
- 01
On AVP v4, the Gaussian model with MAP calibration reached 81.6% participant-wise accuracy across 9,357 held-out utterances from 28 participants.
docs/avp-results-2026-07-15.md — Overall; Protocol - 02
A three-run final-build acoustic loopback measured 163.7–165.5 ms P95. The predeclared 60 ms live-synth gate failed, so Jam Mode shipped as visual capture instead.
docs/latency.md — Phase 3 Task 6 re-measure - 03
The same beatrice-dsp crate supplies offline native analysis and the WASM StreamingDetector used inside the browser AudioWorklet.
crates/beatrice-dsp/src/lib.rs; src/worklet/detector.worklet.ts; Cargo.toml - 04
The streaming regression gate compares seven deterministic fixtures and fails below 95% same-class onset matches within ±20 ms of the offline pipeline.
crates/beatrice-dsp/tests/streaming_tolerance.rs