Repository navigation
feat(arrange): screen-blend mel overlay on Polaroid + FilmStrip Frame 8000 - #42
Merged
Merged
Conversation
Each chunk now glows its OP-1 amber phosphor mel-spectrogram on top of the video still via mix-blend-mode: screen — the wine-floor LUT keeps quiet bins near-black so the photograph reads through, while loud peaks light it up like a darkroom double exposure. Audio identity reads at a glance alongside the video frame, in both the contact-sheet pool and the arranged film strip. Duration-aware aggregation: - maxPoolTimeAxis: per-bin peak per pixel column. Mean-pool would smooth percussive transients into a uniform smear at long durations; max-pool keeps the rhythmic / structural character visible from 10 s all the way to 6 min. - normalizeP95: 95th-percentile non-trivial value maps to 255, so exposure stays consistent across short and long chunks. Frame canvas resolution scales with the Frame's display width so length-proportional strip cells stay crisp instead of blurring a fixed column count across hundreds of pixels. PHOSPHOR_LUT extracted from PlayerCockpit into the shared chunk-mel-render module — Cockpit MelDisplay now imports it (no behaviour change). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PHOSPHOR_LUTextracted fromPlayerCockpitinto a sharedchunk-mel-rendermodule; Cockpit'sMelDisplaynow imports it (no behaviour change there).Test plan
pnpm test— 969 tests pass, 8 new tests formaxPoolTimeAxis+normalizeP95tsc --noEmitclean (pre-existing WASM-pkg errors unrelated)arrange— confirm:🤖 Generated with Claude Code