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:
@@ -7,16 +7,16 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Als w \chord{C}ir noch Knaben waren, die Z \chord{a}eit ist lang vorbei, \\
|
||||
ein je \chord{F}des Jahr im Frühling beg \chord{C}ann die Tippelei. \\
|
||||
Wir tr \chord{C}äumten von Kosaken, Sold \chord{a}aten und Piraten, \\
|
||||
von D \chord{F}schingis‘ Goldner Horde und \chord{C}and‘ren Heldentaten.
|
||||
Als \chord{C}wir noch Knaben waren, die \chord{a}Zeit ist lang vorbei, \\
|
||||
ein \chord{F}jedes Jahr im Frühling \chord{C}begann die Tippelei. \\
|
||||
Wir \chord{C}träumten von Kosaken, \chord{a}Soldaten und Piraten, \\
|
||||
von \chord{F}Dschingis‘ Goldner Horde und \chord{C}and‘ren Heldentaten.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
Ref.: \\
|
||||
/: H \chord{C}e, \chord{G} heute geht‘s uns gut! \chord{C}Es ist noch Suppe da, \\
|
||||
e \chord{F}s ist noch Suppe da, he, z \chord{C}ünd´ das F \chord{G}euer a \chord{C}n! :/
|
||||
/: \chord{C}He, \chord{G}heute geht‘s uns gut! \chord{C}Es ist noch Suppe da, \\
|
||||
\chord{F}es ist noch Suppe da, he, \chord{C}zünd´ das \chord{G}Feuer \chord{C}an! :/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user