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:
@@ -8,18 +8,18 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
\chord{D}In unserm Na \chord{A}men Europa \chord{G} steht \chord{D}, \\
|
||||
er \chord{D}zeigt, woh \chord{A}in unser S \chord{G}innen g \chord{D}eht: \\
|
||||
Nicht j \chord{A}eder al \chord{D}lein und im \chord{G}Größen \chord{A}wahn, \\
|
||||
Zusa \chord{E}mmenarbeit \chord{A}geht alle \chord{E} a \chord{A}n!
|
||||
\chord{D}In unserm \chord{A}Namen Europa \chord{D}steht, \\
|
||||
er \chord{D}zeigt, \chord{A}wohin unser \chord{G}Sinnen \chord{D}geht: \\
|
||||
Nicht \chord{A}jeder \chord{D}allein und im \chord{A}Größenwahn, \\
|
||||
\chord{E}Zusammenarbeit \chord{A}geht alle \chord{A}an!
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
Eur \chord{D}opapfa \chord{A}dfinder S \chord{G}t. Michae \chord{D}l, \\
|
||||
der B \chord{D}und der u \chord{A}ns zusa \chord{G}mmenh \chord{A}äl \chord{D}t. \\
|
||||
\chord{A}Europapfadfinder \chord{G}St. \chord{D}Michael, \\
|
||||
der \chord{D}Bund der \chord{A}uns \chord{D}zusammenhält. \\
|
||||
fis h G A A7 \\
|
||||
Für jeden da sein in diesem Kreis, \\
|
||||
bei \chord{G}uns’rer \chord{D}Ehre zu \chord{e}Go \chord{A}tt \chord{D}es Preis!
|
||||
bei \chord{G}uns’rer \chord{D}Ehre zu \chord{D}Gottes Preis!
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user