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
/
lib
/
player
50 files
at
main
2000.nyc
·
The lock screen has properties, and the checker said so
·
3w ago
b9c5a1a2
analyze.test.ts
An idle thread is not a queue, and the first report to use the search thread's queue bar is what said so.
2mo ago
analyze.ts
An idle thread is not a queue, and the first report to use the search thread's queue bar is what said so.
2mo ago
beat.test.ts
The vamp finally answers the downbeat question, and it says who told it: a kick on the first beat of the bar is a convention about records, so the phase now carries the name of whatever decided it.
2mo ago
beat.ts
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
beatmodel.test.ts
A track the listener skipped is not a broken model, because thirteen loads in a row answered `beat model · outcome=unavailable` in nil time on a browser that had produced a grid in 6.22s the day before.
2mo ago
beatmodel.ts
A track the listener skipped is not a broken model, because thirteen loads in a row answered `beat model · outcome=unavailable` in nil time on a browser that had produced a grid in 6.22s the day before.
2mo ago
beatmodel.worker.test.ts
A track the listener skipped is not a broken model, because thirteen loads in a row answered `beat model · outcome=unavailable` in nil time on a browser that had produced a grid in 6.22s the day before.
2mo ago
beatmodel.worker.ts
A track the listener skipped is not a broken model, because thirteen loads in a row answered `beat model · outcome=unavailable` in nil time on a browser that had produced a grid in 6.22s the day before.
2mo ago
beattrack.test.ts
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
beattrack.ts
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
chroma.ts
Give the detector a background to stand above, and stop the clock deciding its threshold
1mo ago
detect.test.ts
The bar gets a vote where the measurement abstains, and stops claiming one it never had
1mo ago
detect.ts
A count and its noun agree, wherever the count is printed
1mo ago
detect.worker.ts
An idle thread is not a queue, and the first report to use the search thread's queue bar is what said so.
2mo ago
detectrank.test.ts
Give the detector a background to stand above, and stop the clock deciding its threshold
1mo ago
detectrank.ts
A count and its noun agree, wherever the count is printed
1mo ago
engine.test.ts
The shifter stays in the graph, and the deck's speed stops being an octave or nothing.
2mo ago
engine.ts
The shifter stays in the graph, and the deck's speed stops being an octave or nothing.
2mo ago
index.test.ts
Ten real tracks, the constants untouched, and the twelve typicality weights came back as 1.00 twelve times — exactly, on all ten, and on all six synthesised fixtures too, which is the tell: the mechanism the chroma documents as "the structural half of the fix for everything agreeing" has never once done anything, on any input.
2mo ago
index.ts
A count and its noun agree, wherever the count is printed
1mo ago
media.test.ts
The loader's two truest-looking numbers were both false, because a report read them as facts about a server when they were claims the loader made about itself.
2mo ago
media.ts
The loader's two truest-looking numbers were both false, because a report read them as facts about a server when they were claims the loader made about itself.
2mo ago
mediasession.test.ts
The lock screen has properties, and the checker said so
3w ago
mediasession.ts
The lock screen has properties, and the checker said so
3w ago
peaks.test.ts
The loop moves out from between the bars and lies down beneath them
1mo ago
peaks.ts
A count and its noun agree, wherever the count is printed
1mo ago
pitch.test.ts
The shifter stays in the graph, and the deck's speed stops being an octave or nothing.
2mo ago
pitch.ts
The shifter stays in the graph, and the deck's speed stops being an octave or nothing.
2mo ago
random.test.ts
Gapless boundaries: prefetch the next track, arm its source on the audio clock, adopt it at the seam. Bar is two rows — cover with its caption, meta and transport on top, the progress hairline stretching the width beneath with a clock at each end; caret thumbs, fill to the cursor; the bar takes clicks but no focus; a click no longer moves the list
2mo ago
random.ts
Gapless boundaries: prefetch the next track, arm its source on the audio clock, adopt it at the seam. Bar is two rows — cover with its caption, meta and transport on top, the progress hairline stretching the width beneath with a clock at each end; caret thumbs, fill to the cursor; the bar takes clicks but no focus; a click no longer moves the list
2mo ago
session.test.ts
The bar's art tile asked the *file* for a picture and the grid asked the *record*, so one album had a sleeve in one view and nothing in the other. Navidrome's `/api/song` reports artwork as a per-file boolean (`hasCoverArt`, `model/mediafile.go:50`) and marshals no album artwork at all (`EmbedArtPath` is `json:"-"`, `model/album.go:23`), which is how a record whose sleeve is a `cover.jpg` in its folder — or a picture embedded in some of its files and not others — ends up with tracks that report nothing while their own cell in the grid reports the sleeve: `grid.ts` has always asked `coverArt ?? albumId`, and `parseArtworkID` accepts a raw entity id and answers with that album's `CoverArtID` (`core/artwork/artwork.go:365-379`). The report was "Midnight Marauders shows no art in the player view while the grid clearly displays the album cover", and it was three bugs wearing one coat — the tile, the zoom and the accent, all reading `song.coverArt` alone, the accent least visible of the three and worst, because a bar that wears a record's sleeve while its colour comes from somewhere else is making two statements about one track. The question now has one answer, `trackCoverId` in `lib/library/cover.ts` — the file's own picture, else the record's id, else nothing — and the tile, the zoom and the accent all ask it, so a bar and a cell of one album cannot now disagree about whether that album has a sleeve. The record's id rather than a sibling track's, which is what Navidrome caches one picture under for the whole record and what the grid's cell already fetches, so the two views share one server entry and one browser entry instead of one per track.
2mo ago
session.ts
The loop is found rather than typed: `c` walks the repeating regions a track was written to loop in.
2mo ago
shift-node.test.ts
The deck has two things to move now, and they are not the same thing: how fast it turns, and at what pitch it turns. `[`/`]` shift the key a semitone at a time over ±2 octaves while the record keeps its tempo; `{`/`}` remain the varispeed they were, an octave of tape speed where pitch and tempo move together, and the tempo readout says what is actually being heard under it — the one number in the bar that has to be scaled, because tempo is a fact about the listener while the pulse below it is measured in buffer seconds and doubles on its own, which is why the two are scaled in different currencies rather than one being wrong. `\` locks the key against the speed, so a record played at twice the speed stays in the key that was asked for rather than being dragged up with it, and the readout says `·lock` only when the lock is the thing doing the work; `|` puts the key, the lock and the speed back at once. `:key`, `:lock`, `:shift` and `:octave` say the same things in words, with `:pitch` and `:transpose` beside `:key` and `:speed`/`:varispeed`/`:tempo` beside `:octave` — two verbs, deliberately two verbs, because they move two different things and an alias that crossed them would be the bug.
2mo ago
shift-node.ts
The deck has two things to move now, and they are not the same thing: how fast it turns, and at what pitch it turns. `[`/`]` shift the key a semitone at a time over ±2 octaves while the record keeps its tempo; `{`/`}` remain the varispeed they were, an octave of tape speed where pitch and tempo move together, and the tempo readout says what is actually being heard under it — the one number in the bar that has to be scaled, because tempo is a fact about the listener while the pulse below it is measured in buffer seconds and doubles on its own, which is why the two are scaled in different currencies rather than one being wrong. `\` locks the key against the speed, so a record played at twice the speed stays in the key that was asked for rather than being dragged up with it, and the readout says `·lock` only when the lock is the thing doing the work; `|` puts the key, the lock and the speed back at once. `:key`, `:lock`, `:shift` and `:octave` say the same things in words, with `:pitch` and `:transpose` beside `:key` and `:speed`/`:varispeed`/`:tempo` beside `:octave` — two verbs, deliberately two verbs, because they move two different things and an alias that crossed them would be the bug.
2mo ago
shift.processor.ts
The deck has two things to move now, and they are not the same thing: how fast it turns, and at what pitch it turns. `[`/`]` shift the key a semitone at a time over ±2 octaves while the record keeps its tempo; `{`/`}` remain the varispeed they were, an octave of tape speed where pitch and tempo move together, and the tempo readout says what is actually being heard under it — the one number in the bar that has to be scaled, because tempo is a fact about the listener while the pulse below it is measured in buffer seconds and doubles on its own, which is why the two are scaled in different currencies rather than one being wrong. `\` locks the key against the speed, so a record played at twice the speed stays in the key that was asked for rather than being dragged up with it, and the readout says `·lock` only when the lock is the thing doing the work; `|` puts the key, the lock and the speed back at once. `:key`, `:lock`, `:shift` and `:octave` say the same things in words, with `:pitch` and `:transpose` beside `:key` and `:speed`/`:varispeed`/`:tempo` beside `:octave` — two verbs, deliberately two verbs, because they move two different things and an alias that crossed them would be the bug.
2mo ago
shift.test.ts
The shifter stays in the graph, and the deck's speed stops being an octave or nothing.
2mo ago
shift.ts
The deck has two things to move now, and they are not the same thing: how fast it turns, and at what pitch it turns. `[`/`]` shift the key a semitone at a time over ±2 octaves while the record keeps its tempo; `{`/`}` remain the varispeed they were, an octave of tape speed where pitch and tempo move together, and the tempo readout says what is actually being heard under it — the one number in the bar that has to be scaled, because tempo is a fact about the listener while the pulse below it is measured in buffer seconds and doubles on its own, which is why the two are scaled in different currencies rather than one being wrong. `\` locks the key against the speed, so a record played at twice the speed stays in the key that was asked for rather than being dragged up with it, and the readout says `·lock` only when the lock is the thing doing the work; `|` puts the key, the lock and the speed back at once. `:key`, `:lock`, `:shift` and `:octave` say the same things in words, with `:pitch` and `:transpose` beside `:key` and `:speed`/`:varispeed`/`:tempo` beside `:octave` — two verbs, deliberately two verbs, because they move two different things and an alias that crossed them would be the bug.
2mo ago
store.test.ts
The caret is told when the loop is chosen ahead of it, and stops walking there
1mo ago
store.ts
A count and its noun agree, wherever the count is printed
1mo ago
time.test.ts
The query field left the toolbar and grew a second verb: `/` narrows the list, `:` addresses the player
2mo ago
time.ts
The query field left the toolbar and grew a second verb: `/` narrows the list, `:` addresses the player
2mo ago
trace.test.ts
The loop is found rather than typed: `c` walks the repeating regions a track was written to loop in.
2mo ago
trace.ts
The seek row now wears the track's own envelope, and the whole design hangs on one rule: a waveform is a *reading* of samples, so the row appears when the bytes do and never a moment earlier. Before the bytes land there is the hairline; after them, if the samples say nothing, still the hairline — a silent file gets an honest flat line rather than a plausible shape. Nothing is guessed, because a shape the file never had is a caption written under the wrong photograph, and the rest of the app already spends real effort quoting files accurately (the format chips, the container probe, the loop seam).
2mo ago
volume.test.ts
Logarithmic volume; quality chips beside the title, centered on its glyphs
2mo ago
volume.ts
Logarithmic volume; quality chips beside the title, centered on its glyphs
2mo ago
waverec.test.ts
The waveform row stops animating 144 paths, and keeps its last eight entrances so a stutter can be reported after it happened
1mo ago
waverec.ts
The waveform's entrance is removed, because it cost 10 ms a cycle and bought nothing the row can show
1mo ago
wavestats.test.ts
A count and its noun agree, wherever the count is printed
1mo ago
wavestats.ts
A count and its noun agree, wherever the count is printed
1mo ago
worklet.d.ts
The deck has two things to move now, and they are not the same thing: how fast it turns, and at what pitch it turns. `[`/`]` shift the key a semitone at a time over ±2 octaves while the record keeps its tempo; `{`/`}` remain the varispeed they were, an octave of tape speed where pitch and tempo move together, and the tempo readout says what is actually being heard under it — the one number in the bar that has to be scaled, because tempo is a fact about the listener while the pulse below it is measured in buffer seconds and doubles on its own, which is why the two are scaled in different currencies rather than one being wrong. `\` locks the key against the speed, so a record played at twice the speed stays in the key that was asked for rather than being dragged up with it, and the readout says `·lock` only when the lock is the thing doing the work; `|` puts the key, the lock and the speed back at once. `:key`, `:lock`, `:shift` and `:octave` say the same things in words, with `:pitch` and `:transpose` beside `:key` and `:speed`/`:varispeed`/`:tempo` beside `:octave` — two verbs, deliberately two verbs, because they move two different things and an alias that crossed them would be the bug.
2mo ago