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:
@@ -19,15 +19,15 @@
|
||||
% ke, die schwarze Pest … Ein Paradies für Interpretierwürdige. [Quelle: Codex]
|
||||
|
||||
\begin{verse}
|
||||
Es li \chord{a}egen drei g \chord{E}länzende Ku \chord{a}geln, / ich we \chord{d}iß nicht, \\
|
||||
wora \chord{E7}us sie gemach \chord{a}t, / in einer n \chord{E}iedrigen Kne \chord{a}ipe, / \\
|
||||
neun Mei \chord{d}len h \chord{E7}inter der N \chord{a}acht. / Sie l \chord{E}iegen auf \\
|
||||
grünem Tu \chord{a}ch / und an \chord{E} der Wand hängt der Spruch: \chord{E7} /
|
||||
Es \chord{a}liegen drei \chord{E}glänzende \chord{a}Kugeln, / ich \chord{d}weiß nicht, \\
|
||||
\chord{E7}woraus sie \chord{a}gemacht, / in einer \chord{E}niedrigen \chord{a}Kneipe, / \\
|
||||
neun \chord{d}Meilen \chord{E7}hinter der \chord{a}Nacht. / Sie \chord{E}liegen auf \\
|
||||
grünem \chord{a}Tuch / und an \chord{E}der Wand hängt der Spruch: \chord{E7}/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
We \chord{F}r die Kugeln r \chord{C}ollen lässt, d \chord{d}aradadirid \chord{a}um, / \\
|
||||
den \chord{F}überkomme die schwarz \chord{C}e Pest, da \chord{E}radadir \chord{E7}udu \chord{a}m.
|
||||
\chord{F}Wer die Kugeln \chord{C}rollen lässt, \chord{a}daradadiridum, / \\
|
||||
den \chord{F}überkomme die \chord{C}schwarze Pest, \chord{a}daradadirudum.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user