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}
|
||||
Und wir k \chord{e}auern wied \chord{H7}er \chord{e}um die heiße Glut \\
|
||||
und erz \chord{a}ählen vom A \chord{D}bent \chord{e}euer. \\
|
||||
und der wilde Bal \chord{H7}kan \chord{e} ist gerad‘ noch gut \\
|
||||
und wir s \chord{a}chwören am L \chord{D}agerf \chord{e}euer. \\
|
||||
/: Dass die N \chord{G}eider verda \chord{D}mmt und die Sp \chord{C}ießer verflu \chord{H7}cht, \\
|
||||
d \chord{e}ie uns gehemmt viel t \chord{H7}ausend M \chord{e}ale. :/
|
||||
Und wir \chord{e}kauern \chord{H7}wieder \chord{e}um die heiße Glut \\
|
||||
und \chord{a}erzählen vom \chord{e}Abenteuer. \\
|
||||
und der wilde \chord{H7}Balkan \chord{e}ist gerad‘ noch gut \\
|
||||
und wir \chord{a}schwören am \chord{e}Lagerfeuer. \\
|
||||
/: Dass die \chord{G}Neider \chord{D}verdammt und die \chord{C}Spießer \chord{H7}verflucht, \\
|
||||
\chord{e}die uns gehemmt viel \chord{H7}tausend \chord{e}Male. :/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user