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:
@@ -8,12 +8,12 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Ge \chord{d}he nicht, o Gregor, gehe ni \chord{A}cht zum Abendt \chord{d}anze, \\
|
||||
zauberische Mädchen folgen dein \chord{A}en Schritten d \chord{d}o \chord{C}rt: \\
|
||||
/:we \chord{F}iße Hand wie Schnee \\
|
||||
braut dir T \chord{C}ee aus Zauberkrä \chord{F}u \chord{C}t \chord{d}e \chord{A}rn, \\
|
||||
l \chord{d}egt sich über deine Seele \\
|
||||
wi \chord{A}e der Herbst auf´s L \chord{d}an \chord{C}d:/
|
||||
\chord{d}Gehe nicht, o Gregor, gehe \chord{A}nicht zum \chord{d}Abendtanze, \\
|
||||
zauberische Mädchen folgen \chord{A}deinen Schritten \chord{C}dort: \\
|
||||
\chord{F}/:weiße Hand wie Schnee \\
|
||||
braut dir \chord{C}Tee aus \chord{A}Zauberkräutern, \\
|
||||
\chord{d}legt sich über deine Seele \\
|
||||
\chord{A}wie der Herbst auf´s \chord{C}Land:/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user