8000 feat(triage): sequence playback + seam-transition preview + context-aware split/create by johannboehme · Pull Request #49 · johannboehme/tk-1 · GitHub
[go: up one dir, main page]

Skip to content

feat(triage): sequence playback + seam-transition preview + context-aware split/create - #49

Merged
johannboehme merged 2 commits into
mainfrom
claude/beautiful-fermat-380b48
May 25, 2026
Merged

johannboehme merged 2 commits into
mainfrom
claude/beautiful-fermat-380b48

Conversation

@johannboehme
Copy link
Copy Markdown
Owner

Summary

Brings transition auditioning into the Triage screen so chunk in/out points can be judged without bouncing to Arrange/Editor (the workflow pain from the first real field test).

  • 3-way transport switch Continue · Loop · Sequence (replaces the binary loop toggle; L cycles). Sequence walks all kept chunks chronologically, gapless, with focus + list/timeline scroll following and a stop at the end.
  • Seam preview (T key / "Seam" button in the chunk-list header): the bottom timeline morphs into two fixed-scale lanes (bar ruler + waveform) for the A→B cut. Four snap-aware handles — loopIn / A.end / B.start / loopOut — plus click-to-seek, wheel zoom + pan, each lane clamped to its own chunk region. Loops [loopIn→A.end]→[B.start→loopOut] gaplessly via the existing dual-element crossfade engine. Pairing is ephemeral; only the chunk trims persist.
  • Context-aware Split: the Split button / S key become "create chunk" when the playhead sits in empty space (carve a second part out of audio you already trimmed away).

Implementation notes:

Test plan

  • npm run lint (tsc) clean
  • npm test — full unit suite green (incl. new triage-sequence.test.ts: loopForMode, buildSequence, nextSequenceId, resolveSeamWindow, seamHopTarget; + store: setMode, sequenceAdvance, openSeam/setSeamB/updateSeam/closeSeam)
  • Manual (real job): cycle modes via L; Sequence plays kept chunks gapless, skips dropped, stops at end, scroll follows
  • Manual: T opens seam → pick B → drag the 4 handles (snap to bar ruler, waveform stays put), wheel zoom + shift-wheel pan stay within each chunk, click-to-seek, audible gapless A→B→A loop, live-trim A.end/B.start while looping
  • Manual: Split button shows "New chunk here" in empty space and creates a chunk

🤖 Generated with Claude Code

johannboehme and others added 2 commits May 25, 2026 16:38
…ware split/create

Brings transition auditioning into Triage so in/out points can be judged
without bouncing to Arrange/Editor.

- 3-way transport switch (Continue · Loop · Sequence) replacing the loop
  toggle; L cycles. Sequence walks all kept chunks chronologically,
  gapless, focus + list/timeline scroll follow, stops at the end.
- Seam preview (T key / Seam button in the chunk list): the bottom
  timeline morphs into two fixed-scale lanes (bar ruler + waveform) for
  the A→B cut. Four snap-aware handles (loopIn / A.end / B.start /
  loopOut), click-to-seek, wheel zoom + pan clamped to each chunk's own
  region. Reuses the dual-element crossfade engine for both hops; pairing
  is ephemeral, only the chunk trims persist.
- Split button / S key become "create chunk" when the playhead sits in
  empty space.

Pure walker + seam-window geometry are unit-tested (triage-sequence.ts).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…g, fine nudge

Field-feedback follow-ups on the seam preview:

- openSeam defaults B to the next kept chunk; ◀/▶ in the chunk-list header
  step the pair through consecutive transitions (kept chunks only).
- Dedicated seam detail panel replaces the chunk inspector while a seam is
  active: per-edge nudge buttons for every grid unit (1 · 1/2 · 1/4 · 1/8 ·
  1/16), Conform each side, Swap A/B — no insert / split / join / reset.
- New nudgeChunkEdge store action (snap-then-step; edges can't cross).
- Sequence mode no longer yanks the timeline or chunk list when the next
  chunk is already visible — it only pans when the playhead target is
  off-screen.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@johannboehme
johannboehme merged commit 058e396 into main May 25, 2026
1 check passed
@johannboehme
johannboehme deleted the claude/beautiful-fermat-380b48 branch May 25, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet
< 3F74 div class="js-socket-channel js-updatable-content" data-channel="eyJjIjoicHVsbF9yZXF1ZXN0OjM3NDI2MDQxNDEiLCJ0IjoxNzk1NjM1MTMzfQ==--b6cc471da3d0d5d32bdc292594db95633562c62c454cb44fba4b834a3c8aaa71" data-gid="PR_kwDOSNDYjM7fE5tt" data-url="/johannboehme/tk-1/issues/closing_references/partials/sidebar?source_id=3742604141&source_type=PULL_REQUEST" data-channel-event-name="issue_references_updated" >

Development

Successfully merging this pull request may close these issues.

1 participant

0