Fix chord alignment: snap to word boundaries
Improve merge_chord_lyric() to snap chord positions to the start
of the word they fall within, instead of splitting words mid-way.
Fixes artifacts like "Liebespaar \chord{C}e" → "\chord{C}Liebespaare".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Ich k \chord{D}omme, Dir zu sagen, / Du Herre me \chord{A}in: / Im \\
|
||||
Gla \chord{D}uben will ich`s wagen, / Dein J \chord{A}ünger zu s \chord{D}ein. \\
|
||||
Ich \chord{D}komme, Dir zu sagen, / Du Herre \chord{A}mein: / Im \\
|
||||
\chord{D}Glauben will ich`s wagen, / Dein \chord{A}Jünger zu \chord{D}sein. \\
|
||||
Ref.: \\
|
||||
Ich \chord{G}will Dich ohne \chord{D}Ende / li \chord{A}eben immer m \chord{D}ehr,/ \\
|
||||
so s \chord{G}egne mein Verspre \chord{D}chen, / Jesu \chord{A}s mein Her \chord{D}r.
|
||||
Ich \chord{G}will Dich ohne \chord{D}Ende / \chord{A}lieben immer \chord{D}mehr,/ \\
|
||||
so \chord{G}segne mein \chord{D}Versprechen, / \chord{A}Jesus mein \chord{D}Herr.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user