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:
@@ -10,18 +10,18 @@
|
||||
% Lied eine reine Liebeserklärung an Polen und unsere gemeinsame Zeit dort.
|
||||
|
||||
\begin{verse}
|
||||
Im So \chord{a}mmer ging´s bei un \chord{d}s wieder auf Fahr \chord{G}t \\
|
||||
mit K \chord{a}othe, Poncho, Tr \chord{d}anja, lichtem B \chord{G}art. \\
|
||||
\chord{C}Fremde Lä \chord{a}nder woll´n wir se \chord{G}h´n, das wär sc \chord{a}hön.
|
||||
Im \chord{a}Sommer ging´s bei \chord{d}uns wieder auf \chord{G}Fahrt \\
|
||||
mit \chord{a}Kothe, Poncho, \chord{d}Tranja, lichtem \chord{G}Bart. \\
|
||||
\chord{C}Fremde \chord{a}Länder woll´n wir \chord{G}seh´n, das wär \chord{a}schön.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
Ref.: We \chord{F}ite Wiesen, dichte \chord{C}Wälder und s \chord{a}elten mal ein \\
|
||||
Fuchs, der uns begr \chord{G}üßt, \\
|
||||
Gr \chord{F}auganshorden dort am Himm \chord{C}el, ihr Schr \chord{a}ei uns unsere \\
|
||||
Nächte versü \chord{G}ßt. \\
|
||||
A \chord{a}ls unser Herz war uns gesto \chord{d}hlen, da wussten w \chord{G}ir, wir \\
|
||||
sind in P \chord{a}olen.
|
||||
Ref.: \chord{F}Weite Wiesen, dichte \chord{C}Wälder und \chord{a}selten mal ein \\
|
||||
Fuchs, der uns \chord{G}begrüßt, \\
|
||||
\chord{F}Grauganshorden dort am \chord{C}Himmel, ihr \chord{a}Schrei uns unsere \\
|
||||
Nächte \chord{G}versüßt. \\
|
||||
\chord{a}Als unser Herz war uns \chord{d}gestohlen, da wussten \chord{G}wir, wir \\
|
||||
sind in \chord{a}Polen.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user