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:
@@ -9,10 +9,10 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Es s \chord{e}oll sich d \chord{D}er \chord{G} Mensch nicht mit der L \chord{D}iebe abg \chord{e}eben, \\
|
||||
denn die Liebe h \chord{D}at ver \chord{G}nichtet schon so m \chord{D}anch junges \\
|
||||
L \chord{e}eben. / Es h \chord{C}at mir mein T \chord{a}rina die T \chord{D}reue \chord{D7}ver \chord{e}sagt, / \chord{G}d \chord{D}as \\
|
||||
s \chord{e}ei euch g \chord{D}ek \chord{e}la \chord{G}g \chord{D}t \chord{e}. \chord{D}T \chord{e}üterütütütü.
|
||||
Es \chord{e}soll sich \chord{D}der \chord{G}Mensch nicht mit der \chord{D}Liebe \chord{e}abgeben, \\
|
||||
denn die Liebe \chord{D}hat \chord{G}vernichtet schon so \chord{D}manch junges \\
|
||||
\chord{e}Leben. / Es \chord{C}hat mir mein \chord{a}Trina die \chord{D}Treue \chord{e}versagt, / \chord{D}das \\
|
||||
\chord{e}sei euch \chord{e}geklagt. \chord{e}Tüterütütütü.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user