Repository navigation
Precise cut trimming: draggable edge handles and scroll-to-zoom - #30
Closed
advanivivek wants to merge 1 commit into
Closed
advanivivek wants to merge 1 commit into
advanivivek wants to merge 1 commit into
Conversation
Trim cuts precisely, independent of Whisper word timestamps, and move around the waveform faster. - Drag either edge of a cut region to extend or shorten it - Vertical wheel and pinch zoom at the cursor; horizontal scroll pans - Drag scrubs the preview to the edge; double-click an edge to reset Cuts still derive from deleted words. Each cut carries a stable key plus an optional edge override (cutAdjustments). getEffectiveCuts applies overrides in one place, so the timeline, playback, and export stay in sync. Overrides are undoable and saved with the project.
Owner
|
Hey @advanivivek , thank you so much for the PR! This is definitely highly requested, however there's #25 open already, so i'll try to combine both or mix and match features! Appreciate the work! |
1 of 10 tasks
Owner
|
Merged the changes from both PRs! Now the timeline is a lot more flexible and also supports splitting and recombining clips. |
Author
|
Thank you so much @wassgha ✨ My pleasure. I have actually been using my own version of Descript style editor. And I have plenty of other features like AI auto-edit feature, multi-track handling etc. Would love to contribute anytime if there's any need. |
Owner
|
Absolutely! Looking forward to the PRs! Right now my priority is to get electron / desktop releases set up ( #26 ) then will focus back on features! |
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.
Two small features for getting cuts exactly right.
Draggable cut edges
Grab either edge of a cut in the timeline and drag to trim, independent of word timestamps. Fixes clipped or half-included words when Whisper timing is slightly off.
Scroll to zoom, side-scroll to pan
How it works
Notes