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,14 +8,14 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
St \chord{C}eigt so ein kleiner Tr \chord{a}oll von dem Fjell, \\
|
||||
n \chord{G}ähert sich l \chord{C}ei \chord{F}s, hat in der Hand H \chord{C}exenkraut, \\
|
||||
w \chord{G}as niemand weiß \chord{C}. \\
|
||||
\chord{C}Steigt so ein kleiner \chord{a}Troll von dem Fjell, \\
|
||||
\chord{G}nähert sich \chord{F}leis, hat in der Hand \chord{C}Hexenkraut, \\
|
||||
\chord{G}was niemand \chord{C}weiß. \\
|
||||
Ref.: \\
|
||||
Si \chord{C}tzt du am F \chord{F}euer und die L \chord{d}ieder sind ver \chord{G}weht, \\
|
||||
dann bleib ganz st \chord{C}umm! \\
|
||||
De \chord{C}nn in dem La \chord{F}nd, das dich umgib \chord{d}t, \\
|
||||
ist was erw \chord{G}acht und schleicht he \chord{C}rum.
|
||||
\chord{C}Sitzt du am \chord{F}Feuer und die \chord{d}Lieder sind \chord{G}verweht, \\
|
||||
dann bleib ganz \chord{C}stumm! \\
|
||||
\chord{C}Denn in dem \chord{F}Land, das dich \chord{d}umgibt, \\
|
||||
ist was \chord{G}erwacht und schleicht \chord{C}herum.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user