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,17 +9,17 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
W \chord{E}ollt ihr hören nun mein Lied und wollt ihr \\
|
||||
glauben d \chord{H7}ara \chord{E}n. / Von König Olaf T \chord{H7}rygvasson \\
|
||||
heb i \chord{E}ch zu s \chord{A}ingen \chord{E}an \chord{H7}.
|
||||
\chord{E}Wollt ihr hören nun mein Lied und wollt ihr \\
|
||||
glauben \chord{E}daran. / Von König Olaf \chord{H7}Trygvasson \\
|
||||
heb \chord{E}ich zu \chord{A}singen \chord{H7}an.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
Refrain: \\
|
||||
Das G \chord{H7}old schimmert im S \chord{A}aale, / \\
|
||||
t \chord{E}anzen \chord{H7}wir im Ring, / \\
|
||||
fröhlich reiten N \chord{E}or \chord{H7}dlands M \chord{A}annen / \\
|
||||
\chord{H7}hin zu Hildurs Th \chord{E}ing. /
|
||||
Das \chord{H7}Gold schimmert im \chord{A}Saale, / \\
|
||||
\chord{E}tanzen \chord{H7}wir im Ring, / \\
|
||||
fröhlich reiten \chord{H7}Nordlands \chord{A}Mannen / \\
|
||||
\chord{H7}hin zu Hildurs \chord{E}Thing. /
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user