web: onset detector and key estimator with synthetic-signal tests

Spectral-flux onset detector (max-filtered reference, median threshold,
refractory) and peak-based chroma with Krumhansl profile key estimate.
Own FFT; no external dependencies.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Aqua 2026-11-05 18:52:29 +00:00
commit da902619de
3 changed files with 299 additions and 0 deletions

12
web/package.json Normal file
View file

@ -0,0 +1,12 @@
{
"name": "perlines-web",
"version": "2.0.0",
"description": "Perlines v2: zero-install browser audio visualizer (WebAudio + WebGL2)",
"type": "module",
"license": "MIT",
"private": true,
"scripts": {
"test": "node --test test/dsp.test.mjs",
"serve": "node tools/serve.mjs"
}
}