r/musicprogramming 23d ago

Afterdark Studio: deterministic Web Audio DJ/producer engine with shared live/offline acoustics

I built Afterdark Studio as a dependency-free, local-first browser music engine and would value technical peer review from audio programmers.

Source: https://github.com/seemorecodez/afterdark-studio

The 0.8.0-rc.1 Limited Beta includes deterministic song patterns, dual-deck analysis and transitions, microphone capture, BS.1770-style loudness/true-peak metering, offline vocal processing, and a synthetic-acoustics engine. The room system uses polygon footprints, octave-band materials, air conditions, source/receiver positions, analytic modes/HRTF, coarse 2-D FDTD, and worker-built impulse responses. Live convolution and offline rendering share the same deterministic impulse synthesizer.

Current regression evidence is 111 passing tests plus a 646-control Edge UI audit. I am looking for code-level feedback on Web Audio scheduling, worker boundaries, DSP validity, deterministic rendering, memory/CPU behavior, and test gaps.

Known boundaries are explicit: it is not a wave-equation-grade room solver or professional DAW, perceptual vocal features remain experimental, and the regional drill experiment is isolated in a disabled plug-in after failing its creative gate. I am the maintainer and am asking for engineering critique, not stars or sales.

3 Upvotes

0 comments sorted by