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:
@@ -29,16 +29,16 @@
|
||||
% ders nach 1933 zur Identifikation anboten.
|
||||
|
||||
\begin{verse}
|
||||
Na \chord{h}chts steht Hunger sta \chord{e}rr in unserm Tra \chord{h}um, \\
|
||||
\chord{h}Nachts steht Hunger \chord{e}starr in unserm \chord{h}Traum, \\
|
||||
e h Fis h \\
|
||||
tags die Schüsse knallen her vom Waldessaum. \\
|
||||
Elend hält mit d \chord{A}en Kolonnen Schri \chord{D}tt, \\
|
||||
Elend hält mit \chord{A}den Kolonnen \chord{D}Schritt, \\
|
||||
e h Fis h \\
|
||||
und in Frost und Nebel ziehn die Wölfe mit. \\
|
||||
h fis \\
|
||||
Noch fliegt Russlands heiliger Adler, \\
|
||||
Mü \chord{G}tterchen, unser Bl \chord{D}ut gehört nur dir, \\
|
||||
ma \chord{e}g das rote Hee \chord{h}r uns auch jagen, \\
|
||||
\chord{G}Mütterchen, unser \chord{D}Blut gehört nur dir, \\
|
||||
\chord{e}mag das rote \chord{h}Heer uns auch jagen, \\
|
||||
Fis h \\
|
||||
leuchtend steht noch immer das Panier.
|
||||
\end{verse}
|
||||
|
||||
Reference in New Issue
Block a user