Skip to content

Release v0.4.2: Director fixes for the script, lyrics and lyric lines - #143

Merged
JaimeIsMe merged 1 commit into
mainfrom
release/v0.4.2
Nov 24, 2026
Merged

JaimeIsMe merged 1 commit into
mainfrom
release/v0.4.2

Conversation

@JaimeIsMe

Copy link
Copy Markdown
Collaborator

Summary

Three fixes for making a music video in Director.

  • Write the script works for whole songs. On Mac and Windows the request goes through the Velo service, where one answer is capped in length and time. A script for a whole song is several times longer, so the answer was cut off and reported as "The Velo service could not complete this response". The script is now asked for a few shots at a time and joined (src/services/veloScriptWriter.mjs). A part that is still cut off is asked for once more, smaller. If a later part fails, the shots already written are kept and the screen says the script is not finished.
  • Lyrics in the song's own language. The song listener always passed English to the speech program. It now lets the speech program detect the language first and uses it when it is sure, English otherwise (electron/songMapWorker.cjs). Latin letters that do not split into a base letter and a mark (such as ł) are mapped by hand for word timing. Songs in other alphabets are not handled yet: the word timer only knows a to z.
  • Add line below. In the Song step, a lyric line the listening missed can be added under the selected line (src/utils/songLyricMap.mjs, src/components/generate/SongStep.jsx).

Version 0.4.2. Notes: docs/RELEASE_NOTES_0.4.2.md.

Testing

  • I ran npm run build
  • I smoke-tested the area I changed
  • I updated docs when behavior, setup, onboarding, or release steps changed

On this commit: build, the release pre-checks (export scheduler, media preparation, timeline hotfixes, audio analysis, RIFE hardening), test:create, and the script writer, lyric line and song engine tests (22 pass). In a developer run on Linux the script was written in parts for a whole song and a line was added in the Song step. Not run: a script through the Velo service route on Windows or macOS, a real song that is not in English, and a 0.4.2 installer on Windows or macOS.

Contributor License Agreement

  • I have read and agree to the Contributor License Agreement in CONTRIBUTOR_LICENSE_AGREEMENT.md, and I have the right to submit this contribution.

Notes

The tag v0.4.2 and its six installers are built from this branch's commit; the release is a draft. Nothing is to be published from this pull request.

🤖 Generated with Claude Code

- Velo writes the director script a few shots at a time and Velorn joins the
  parts, so a whole song no longer fails on the answer length limit.
- The song listener works out which language is sung.
- Song step: Add line below, for a lyric line the listening missed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@JaimeIsMe
JaimeIsMe merged commit 891fcda into main Nov 24, 2026
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant