Repository navigation
Conversation
Word-boundary drag lets users fix ASR bleed (e.g. uh overlapping hello). Split (S) inserts scene boundaries that subdivide keep ranges into clips; selected clips expose trim handles that create manual cuts merged into preview and export. Undo coalesces drag gestures into a single step. Co-authored-by: Wassim Gharbi <wassgha@gmail.com>
This was referenced Jul 29, 2026
Owner
Author
|
Superseded by #31 |
MrDebugger
pushed a commit
to MrDebugger/rescript
that referenced
this pull request
Aug 25, 2026
Bring together PR wassgha#25 (word timing, Split, clip trim, manual cuts) and PR wassgha#30 (draggable cut edges, scroll-to-zoom/pan). CutAdjustments override word-derived cut edges without rewriting ASR timestamps; ManualCut and SceneBoundary still handle blade/trim and scene splits. Wheel zoom anchors at the cursor; cut-edge drags scrub preview and double-click resets. Co-authored-by: Wassim Gharbi <wassgha@gmail.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
Adds a more flexible editing paradigm inspired by Descript: transcript stays primary, but the timeline can refine word timing and split/trim clips independently of whole-word deletes.
What’s new
Word timing (fixes ASR bleed)
uhno longer eats intohelloSplit at playhead
Sshortcut insert a scene boundaryClip trim
Data model
ManualCut[]+SceneBoundary[]alongsideWord[]getCutRanges(words, duration, manualCuts)drives preview and exportTest plan
uh’s left edge right so it no longer overlapshello, then Cut —helloaudio remainsS/ Split on a kept region; amber boundary appears; two clips selectablenpx tsx scripts/edits-test.tspasses