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:
@@ -20,18 +20,18 @@
|
||||
% „Santiano“ heraus, die von der Fahrt auf dem Meer handelt.
|
||||
|
||||
\begin{verse}
|
||||
Der Abs \chord{e}chied fällt schwer Sagt: Mein M \chord{G}ädchen, ad \chord{D}e! \\
|
||||
Leinen l \chord{e}os, volle Fahrt, San \chord{D}tiano. \\
|
||||
Die Trä \chord{a}nen sind salzig und t \chord{D}ief wie das M \chord{h}eer. \\
|
||||
Doch mein S \chord{e}eemannsh \chord{D}erz brennt li \chord{e}chterloh.
|
||||
Der \chord{e}Abschied fällt schwer Sagt: Mein \chord{G}Mädchen, \chord{D}ade! \\
|
||||
Leinen \chord{e}los, volle Fahrt, \chord{D}Santiano. \\
|
||||
Die \chord{a}Tränen sind salzig und \chord{D}tief wie das \chord{h}Meer. \\
|
||||
Doch mein \chord{D}Seemannsherz brennt \chord{e}lichterloh.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
Refrain: \\
|
||||
Sow \chord{e}eit die See und der W \chord{G}ind uns t \chord{D}rägt Segel h \chord{e}och, \\
|
||||
Volle Fahrt, Sant \chord{D}iano. \\
|
||||
Ge \chord{a}radeaus, wenn das M \chord{D}eer uns ru \chord{h}ft. \\
|
||||
Fahr‘n wir ra \chord{e}us, hine \chord{D}in ins \chord{e}Abendrot.
|
||||
\chord{e}Soweit die See und der \chord{G}Wind uns \chord{D}trägt Segel \chord{e}hoch, \\
|
||||
Volle Fahrt, \chord{D}Santiano. \\
|
||||
\chord{a}Geradeaus, wenn das \chord{D}Meer uns \chord{h}ruft. \\
|
||||
Fahr‘n wir \chord{e}raus, \chord{D}hinein ins \chord{e}Abendrot.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user