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:
@@ -10,14 +10,14 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Z \chord{C}ieh meiner Straße, schlaf auf der Straße, \\
|
||||
hab auf der Straße mein La \chord{G7}ger geschlagen; / \\
|
||||
we \chord{C}it \chord{F}er \chord{G} nach Süd \chord{C}en zie \chord{G}h \chord{G7}ich am Mor \chord{C}gen. / \\
|
||||
\chord{C}Zieh meiner Straße, schlaf auf der Straße, \\
|
||||
hab auf der Straße mein \chord{G7}Lager geschlagen; / \\
|
||||
\chord{F}weiter \chord{G}nach \chord{C}Süden \chord{G}zieh \chord{G7}ich am \chord{C}Morgen. / \\
|
||||
\chord{C}Abends am Wege leg ich mich nieder, \\
|
||||
hart ist die Erde und \chord{G7}müd´ meine Glieder, / \\
|
||||
mü \chord{C}d´ von \chord{F} d \chord{G}er Stra \chord{C}ße, die t \chord{G7}ags ich geschri \chord{C}tten. \\
|
||||
/: We \chord{F}iter sü \chord{C}dwärts z \chord{F}ieh´n die W \chord{C}olken, \\
|
||||
mit ihnen zieh i \chord{G7}ch meiner Str \chord{C}a \chord{F}ße dah \chord{C}in.:/
|
||||
\chord{C}müd´ von \chord{G}der \chord{C}Straße, die \chord{G7}tags ich \chord{C}geschritten. \\
|
||||
/: \chord{F}Weiter \chord{C}südwärts \chord{F}zieh´n die \chord{C}Wolken, \\
|
||||
mit ihnen zieh \chord{G7}ich meiner \chord{F}Straße \chord{C}dahin.:/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user