Version history of package.json

September 2026

The bar keeps time with a neural beat tracker now, and the tempo is the number the grid actually keeps. Beat This! (Foscarin, Schluter & Widmer, ISMIR 2024) ships as small0 — 2M params, 11 MB of MIT weights exported once to ONNX by scripts/neural-beat/ and never needing python again — inference in a dedicated module worker over onnxruntime-web (webgpu where the browser offers it, wasm everywhere else), the log-mel frontend and keep_first chunking ported in pure TS and pinned to the authors' own torch outputs as goldens (the goldens being how torchaudio's *reflect* center-padding got found, where a port that guessed zeros was 0.79 log-units wrong on every track's first beat). The Ellis DP stays as the fallback it always was: every track the network abstains on, and every browser that will not run its wasm, is answered by the dynamic program exactly as before, and the search can never tell the two apart. The worker answers samples-in-grid-out or null and never rejects; two failures retire it for the session; a track the network has not finished thinking about in 45 s falls back mid-question. The reported tempo became the median inter-beat interval rather than the mean, because a mean cannot tell 'the track is slower' from 'the model lost two beats in the bridge' — music felt at 137 was reporting at 131, and the test pins both numbers; the grid is then trimmed to that tempo (greedy, 0.6x-the-median, with a refusal clause for music that has no shared tempo to trim toward), so the number and the pulse cannot disagree the way 163 BPM with picked eighths made them. Beats snap onto the onset envelope's loudest rise within 60 ms before the grid is built, so boundaries land on the sound rather than on the model's rounded guess at it. The pulse itself lost its second clock: what was a CSS animation corrected toward the audio at 4 Hz corrected its seam instead, free-running every time a correction missed, and is now one rAF pass that turns the playhead (peekLivePosition, the AudioContext itself, not the 4 Hz sample) into --pb-phase on the span with the flash as pure CSS arithmetic — pause freezes it because the position does, a seek moves it because the position does, drift is not representable. The tempo sits tiny (8px, reserved line, no grow-on-analysis) above the title rather than beside it, fades in when the analysis lands, and breathes around its baseline. 829 tests, ort-vs-torch parity at 2.7e-5 max logit error, and the shipped model verified end-to-end through the real worker in a real browser at exactly 120.00 on a 120 click track.
2000.nyc
·
One colour in the theme is now chosen by the record being heard, and the seam between what the cover decides and what the app decides is the whole feature. The record lends the hue and the chroma; the app keeps the lightness, because --accent is ink as well as fill — the query text, the share line, the playing row's title, all at 11px — and a colour taken out of a photograph is a colour a photograph chose, which is generally dark: covers are photographs, and the palette's own vivid-preference has to fight that before the derivation ever starts. Parked at the house green's lightness (0.695, where #3fb950 measures oklch(0.695 0.181 146)) every hue lands between 6.7:1 and 8.7:1 on --panel and between 4.34:1 and 5.15:1 on the typing wash, so about half the wheel is lifted a few hundredths until it clears WCAG's 4.5:1 for body text and nothing lands under it; the floor is the standard's number rather than a number chosen for this theme, which is the only reason it is worth checking. The wash is modelled in Oklab for the same reason the browser mixes there: a channel blend of the green into --panel at 34% lands at rgb(26,68,32) and the real wash at rgb(29,59,32), and that difference is enough to move which side of the floor a hue falls on, which is how a legibility check stops meaning anything if you skip it. Chroma is bisected down to what sRGB can show rather than left for the conversion to clip, because clipping is not a quiet failure — an ochre came back 17° round the wheel, orange gone to olive, which is the sleeve being misquoted rather than quoted quietly — and --accent-dim is derived by ratio rather than by fixed lightness so the dim of a crimson record stays the dim of a crimson record and stays a border rather than becoming a second accent.
2000.nyc
·
Runtime shape at the read boundaries: what the app stores is validated on the way in, and only there, because the write path is the volume and the scrub and re-checking a value the app built a moment ago would tax frames to guard against a mistake it did not make. What JSON.parse could not see is now caught: a stored host that is no longer the output of normalizeHost, which is the one stored string this app attaches a username and a salted md5 of the password to; a login draft stored as null, which threw while the dialog rendered, on the one screen with no way out of it; a repeat mode the player has never heard of, which matched no comparison and quietly stopped repeats; a cached songCount of "3", which never equals the length of the cache, so the library re-crawled every boot with no symptom anyone could name; and a proxy that answers /rest/ping with its own login page at a 200, which arrived as the JSON parser's TypeError instead of an error naming the endpoint. The song and album rows are deliberately unvalidated — parse() hands back a copy with the undeclared keys dropped, and those rows are identity-keyed by the virtualizer and carry provenance a hand-kept schema would silently lose — and the envelope keeps everything beside status unvalidated, with status wider than ok/failed, so a server that spells it oddly still gets to report its own failure. RepeatMode is read off REPEAT_ORDER, so a fifth mode cannot skip the schema. Costs 1.7kB gzipped on the main chunk, and each guard is covered by tests that fail without it.
2000.nyc
·