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:
@@ -9,15 +9,15 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Wohl \chord{E}auf die Luft geht \chord{H7}frisch und re \chord{E}in,/ wer \chord{H7}lange \\
|
||||
\chord{E}Wohlauf die Luft geht \chord{H7}frisch und \chord{E}rein,/ wer \chord{H7}lange \\
|
||||
Fis H E H7 \\
|
||||
sitzt muss rosten! / Den allerschönsten Sonnen- \\
|
||||
E H7 Fis H H7 \\
|
||||
schein lässt uns der Himmel kosten. / Drum reicht \\
|
||||
mir St \chord{E}ab und \chord{H7}Ordenskl \chord{E}eid / der f \chord{H7}ahrend \chord{E}en \\
|
||||
Scho \chord{H7}laren, / ich w \chord{E}ill zur schönen S \chord{A}ommerszeit / ins \\
|
||||
L \chord{E}and der Franken f \chord{H7}ahr \chord{E}en. / Valle \chord{H7}rie, valler \chord{E}a, \\
|
||||
valler \chord{H7}ie, valler \chord{E}a, ins Land der Franken \chord{H7}fah \chord{E}ren.
|
||||
mir \chord{E}Stab und \chord{E}Ordenskleid / der \chord{E}fahrenden \\
|
||||
\chord{H7}Scholaren, / ich \chord{E}will zur schönen \chord{A}Sommerszeit / ins \\
|
||||
\chord{E}Land der Franken \chord{E}fahren. / \chord{H7}Vallerie, \chord{E}vallera, \\
|
||||
\chord{H7}vallerie, \chord{E}vallera, ins Land der Franken \chord{E}fahren.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user