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:
@@ -6,14 +6,14 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Jeden Ki \chord{G}lometer spielt ein Jazztrompeter nach der \\
|
||||
\chord{G}neusten Welle \chord{D7}Pan \chord{G}ama. \\
|
||||
Jeden \chord{G}Kilometer spielt ein Jazztrompeter nach der \\
|
||||
\chord{G}neusten Welle \chord{G}Panama. \\
|
||||
Auf den \chord{G}Zuchthaustreppen sieht man Menschen steppen \\
|
||||
Nach der ne \chord{G}usten Welle Pa \chord{D7}nam \chord{G}a. \\
|
||||
Ref: P \chord{G}anama, das ist kein Zuchthaus, Panama ist kein Sing \\
|
||||
Nach der \chord{G}neusten Welle \chord{G}Panama. \\
|
||||
Ref: \chord{G}Panama, das ist kein Zuchthaus, Panama ist kein Sing \\
|
||||
\chord{D7}Sing! Panama, das ist die Hochburg, das ist die \\
|
||||
\chord{D7}Hochburg für den S \chord{G}wing. Ja, ja, ja, |: \chord{C}Pa-Pa-Panama, \\
|
||||
\chord{G}Pa-Pa-Panama, \chord{D7}Pa-Pa-Panama, o- \chord{G}le \chord{D7}, o \chord{G}-le:| \\
|
||||
\chord{D7}Hochburg für den \chord{G}Swing. Ja, ja, ja, |: \chord{C}Pa-Pa-Panama, \\
|
||||
\chord{G}Pa-Pa-Panama, \chord{D7}Pa-Pa-Panama, \chord{D7}o-le, \chord{G}o-le:| \\
|
||||
Schönes Wetter heute, und so viele Leute, \\
|
||||
alle tanzen heute Panama. \\
|
||||
Schalt das Radio an, geht Radio Moskau dran, \\
|
||||
|
||||
Reference in New Issue
Block a user