About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
hackermusic
2000.nyc
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
hackermusic
/
src
/
test
1 folder
·
8 files
at
main
2000.nyc
·
A count and its noun agree, wherever the count is printed
·
1mo ago
0de64bc8
fixtures
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.
2mo ago
audio.ts
The shifter stays in the graph, and the deck's speed stops being an octave or nothing.
2mo ago
caches.ts
The warm cache died with the tab, which made every reload a cold start: the rows went blank, the record forgot it had been prewarmed, and the network got asked to sell the same bytes twice for the crime of having been shut down. The memory tier answers in nanoseconds and is not the thing that has to survive — Cache Storage is, so the warmer and the load path now write through to the browser's own byte store under a credential-free key (the stream URL with u, s, t and the client identification torn out, because the client's own comment says authenticated URLs are never persisted and a cache key is the one place a byte store keeps a string verbatim), and read back from it when memory has nothing. The rows know immediately after boot: the manifest is rebuilt from keys() — headers for sizes, never bodies — and the store bumps its cache counter when hydration lands, so the record is visibly warm before a single request goes out. What the browser sweeps from under us, we read as the miss it is and heal by fetching, which is also why nothing here asks for persistent storage: a tier that can be evicted and self-heals has no business opening a permission prompt. Bytes are only ever written after the decoder vouched for them — a disk full of files nothing can play is just a slower way of being broken — writes run through one ordered chain so two warms cannot trample each other's accounting, and the tier keeps its own sixty-four-plus-one-gigabyte LRU whose recency a read touches like the memory one's. The tests simulate the reload by dropping memory and rehydrating from a Cache Storage stub, three of them: the warmed case, the heard-once case, and the case where the browser took an entry back and the manifest's lie costs exactly one fetch.
2mo ago
diagnostics.ts
A looser question about a lyric is asked only by a length that can disbelieve it
1mo ago
env.ts
Library index + harvest, list/grid views, boot perf fixes, album section highlight
2mo ago
lrclib.ts
A lyric is looked up by the track it belongs to, and sung beside the transport
1mo ago
navidrome.ts
The heart follows the ear: `f` favorites the track you can hear, and an artist wears nothing.
2mo ago
signal.ts
The bar gets a vote where the measurement abstains, and stops claiming one it never had
1mo ago
worker.ts
A count and its noun agree, wherever the count is printed
1mo ago