Repository navigation
Voice-over: a moved line takes its audio and captions along - #11
Merged
Merged
Conversation
A generated voice-over is one file with every line mixed in at the time it had. Moving a line afterwards only moved its block: the words still played at the old spot. Each line now keeps its spot in the file (`at`), and the template plays the voice per line from there, at the line's current time (voiceSegments), in the preview and the render. Changing a line's text drops `at` until the voice is made again; voice-overs made before this show a hint to make them once more (spoken lines come from the cache). Captions that start within a voice-over line move with it: dragging, dragging with several selected, nudging, and the Start field. Co-Authored-By: Claude Opus 5.5 <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.
What does this change?
Moving a voice-over line on the timeline didn't move its audio: a generated voice-over is one mixed file, so the words kept playing at the old time. Each line now remembers its spot in that file (
at), and the voice plays per line from there, at the line's current time. This works in both the preview and the render, without generating the voice again. Captions that start within a line move along with it (drag, multi-drag,,/.nudge, the Start field).Voice-overs made before this have no
atyet. They keep playing as one track, and the line inspector asks to click Make voice-over once. That is quick, since spoken lines come from the cache.How did you check it?
npm run check,npm test(31, new:voiceSegments, template output) andnpm run test:ui(12, new: VO line drag + nudge with split captions)