Repository navigation
feat(editor): filled Triage-style waveform on the master audio lane - #47
Merged
Merged
Conversation
The master audio lane drew one 1-px bar per peak, which read as scattered ticks rather than an audio track. Replace it with the Triage screen's filled-envelope look: per-pixel-column min/max (x -> arr-T -> peak-index inverse so every column is painted, no gaps), 3-tap smoothing, a vertical gradient glowing from the centreline, and a subtle ground line for silent stretches. Drawn per contiguous arrangement-segment run so long-form gaps stay real gaps. Bump peak resolution 1500 -> 4000 for crisper detail when zoomed in. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 25, 2026
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
How it works
x → arr-T → peak index) instead of stamping one bar per peak — so every column a segment covers gets a value and there are no gaps between ticks.#5C544A); no new hue.Files
frontend/src/editor/components/Timeline.tsx— waveform draw block rewritten.frontend/src/pages/Editor.tsx— peak bucket count 1500 → 4000.Verification
tsc --noEmitclean;waveform-peaksunit tests pass.Test plan
/job/:id/edit; confirm the master lane reads clearly as a filled waveform.🤖 Generated with Claude Code