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,11 +7,11 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Im S \chord{a}ommer war das G \chord{d}ras so tief, dass jeder W \chord{G}ind daran \\
|
||||
vorüber \chord{C}lief. Ich habe \chord{a}da dein \chord{e}Blut gesp \chord{G}ürt, und wie es h \chord{F}eiß \\
|
||||
zu mir herüberra \chord{a}nn. Du hast nur mein Gesi \chord{d}cht berührt, da \\
|
||||
starb er ei \chord{G}nfach hin, der harte M \chord{C}ann. Weil's solche Li \chord{a}ebe \\
|
||||
n \chord{e}icht mehr g \chord{G}ibt: Ich hab mich i \chord{F}n dein rotes Haar verli \chord{a}ebt.
|
||||
Im \chord{a}Sommer war das \chord{d}Gras so tief, dass jeder \chord{G}Wind daran \\
|
||||
\chord{C}vorüberlief. Ich habe \chord{a}da dein \chord{e}Blut \chord{G}gespürt, und wie es \chord{F}heiß \\
|
||||
zu mir \chord{a}herüberrann. Du hast nur mein \chord{d}Gesicht berührt, da \\
|
||||
starb er \chord{G}einfach hin, der harte \chord{C}Mann. Weil's solche \chord{a}Liebe \\
|
||||
\chord{e}nicht mehr \chord{G}gibt: Ich hab mich \chord{F}in dein rotes Haar \chord{a}verliebt.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user