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:
@@ -24,10 +24,10 @@
|
||||
% ten.
|
||||
|
||||
\begin{verse}
|
||||
Die Ge \chord{G}danken sind frei, wer kan \chord{C}n sie \chord{a} erra \chord{D7}ten \chord{G}? \\
|
||||
Sie fliegen vorbei, wie n \chord{C}äc \chord{a}ht \chord{D7}lic \chord{G}he Schatten. / Kein \\
|
||||
Me \chord{D}nsch kann sie wiss \chord{G}en, kein Jäge \chord{D}r erschieß \chord{G}en / \\
|
||||
mit Pu \chord{C}lver und Bl \chord{G}ei, die Geda \chord{D}nken sind fr \chord{G}ei!
|
||||
Die \chord{G}Gedanken sind frei, wer \chord{C}kann sie \chord{G}erraten? \\
|
||||
Sie fliegen vorbei, wie \chord{G}nächtliche Schatten. / Kein \\
|
||||
\chord{D}Mensch kann sie \chord{G}wissen, kein \chord{D}Jäger \chord{G}erschießen / \\
|
||||
mit \chord{C}Pulver und \chord{G}Blei, die \chord{D}Gedanken sind \chord{G}frei!
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user