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:
@@ -7,17 +7,17 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
Einst warf ich mi \chord{D}ch ins v \chord{G}olle L \chord{D}eben, \\
|
||||
ins Re \chord{e}ich der Göt \chord{A}ter hi \chord{D}nzustreben, \\
|
||||
Einst warf ich \chord{D}mich ins \chord{G}volle \chord{D}Leben, \\
|
||||
ins \chord{e}Reich der \chord{A}Götter \chord{D}hinzustreben, \\
|
||||
G D Fis h \\
|
||||
dem stillen Alltag zu entflieh´n \\
|
||||
auf S \chord{G}uche na \chord{D}ch Zentauri \chord{e}en \chord{A}. \\
|
||||
auf \chord{G}Suche \chord{D}nach \chord{A}Zentaurien. \\
|
||||
Refrain: \\
|
||||
D fis \\
|
||||
l:So reiste ich dem Morgen zu, der Abend ließ mir \\
|
||||
G A G D fis h \\
|
||||
keine Ruh, der kühle Westwind trieb mich hin \\
|
||||
vom Ok \chord{G}zident \chord{D} zum Anb \chord{e}eg \chord{A}in \chord{D}n. :l
|
||||
vom \chord{G}Okzident \chord{D}zum \chord{D}Anbeginn. :l
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user