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:
@@ -3,9 +3,9 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Ich s \chord{C}eh den Bienen \chord{a}zu \chord{D}, \chord{G} / sie haben i \chord{C}mmer viel zu t \chord{a}un \\
|
||||
und auch die A \chord{a}ffen in den B \chord{D}äumen springen r \chord{G}astlos \\
|
||||
\chord{C}Was soll diese H \chord{a}ast bloß, i \chord{D}ch will meine \chord{G}Ruh´.
|
||||
Ich \chord{C}seh den Bienen \chord{D}zu, \chord{G}/ sie haben \chord{C}immer viel zu \chord{a}tun \\
|
||||
und auch die \chord{a}Affen in den \chord{D}Bäumen springen \chord{G}rastlos \\
|
||||
\chord{C}Was soll diese \chord{a}Hast bloß, \chord{D}ich will meine \chord{G}Ruh´.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
@@ -15,10 +15,10 @@ mir wär das viel zu schwer, darum sing ich dann
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
Ref.: Ich bin ein K \chord{a}omodowar \chord{D}an \\
|
||||
Ich ruhe in mir s \chord{G}elbst, darauf kommt es \chord{C}an \\
|
||||
Ich brauche keine P \chord{a}artykara \chord{D}wane, \\
|
||||
Bleibe lieber all \chord{G}eine in der \chord{C}Sonne
|
||||
Ref.: Ich bin ein \chord{D}Komodowaran \\
|
||||
Ich ruhe in mir \chord{G}selbst, darauf kommt es \chord{C}an \\
|
||||
Ich brauche keine \chord{D}Partykarawane, \\
|
||||
Bleibe lieber \chord{G}alleine in der \chord{C}Sonne
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user