ComfyUI Node

Fit Lyrics

New cover lyrics against the melody: every line against the notes of its phrase (about one syllable per note; one or two fewer are sung as a melisma). Lines that do not fit go back to the writer with their targets - only those lines, at most twice: chain three of these nodes (the Write Song block does), a writer between them. The last shortens a line still one or two syllables too long (I am -> I'm). Songs, original lyrics and instrumentals pass through.

By jplenio·Created 17 days ago·Updated about 19 hours ago· 40
Fit Lyrics
  • brief
  • state
  • lyrics
  • prompt
  • schema
  • state
  • report
◄lyrics—►
◄lastfalse►
◄score—►
◄reference_lyrics—►
◄answer—►
CategoryPlenio/Writing

Inputs (7)

NameTypeDefaultDescription
lyricsSTRINGThe lyrics: Parse Song Draft's, or the previous Fit Lyrics'.
briefPLENIO_BRIEFSong Brief or Cover Brief: only new cover lyrics are fitted.
lastBOOLEANfalseThe last round: asks the writer nothing more; shortens lines one or two syllables too long.
scoreoptSTRINGThe final score: its Vocal phrases are the targets.
reference_lyricsoptSTRINGThe source's lyrics (Transcribe Lyrics), for the meaning when the brief keeps close to them; requested only then.
stateoptPLENIO_LYRICS_FITThe previous Fit Lyrics' state: what it asked the writer.
answeroptSTRINGThe writer's answer to the previous Fit Lyrics' prompt; requested only when it asked.

Outputs (5)

NameTypeDescription
lyricsSTRINGThe lyrics after this round.
promptSTRINGThe repair request for the writer (empty when the lyrics fit or in the last round).
schemaSTRINGThe answer's JSON schema, for Local LLM (the format is then exact).
statePLENIO_LYRICS_FITFor the next Fit Lyrics.
reportPLENIO_REPORTLines that fit, what was asked and changed.