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:
@@ -6,9 +6,9 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
\chord{e}Seht Unser La \chord{G}nd ist umg \chord{D}eben vom Meer \\
|
||||
Wellen b \chord{G}rechen sich kr \chord{D}aftvoll im Sa \chord{G}nde \\
|
||||
Sanftes Ra \chord{D}uschen erfü \chord{H7}llt uns mit Ru \chord{e}h´
|
||||
\chord{e}Seht Unser \chord{G}Land ist \chord{D}umgeben vom Meer \\
|
||||
Wellen \chord{G}brechen sich \chord{D}kraftvoll im \chord{G}Sande \\
|
||||
Sanftes \chord{D}Rauschen \chord{H7}erfüllt uns mit \chord{e}Ruh´
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
@@ -19,8 +19,8 @@ Fernes Rufen, es treibt uns voran
|
||||
|
||||
\begin{verse}
|
||||
Ref.: \\
|
||||
/: \chord{C}Endlos der Hi \chord{G}mmel, e \chord{D}ndlos die S \chord{G}ee / Sie \chord{e}ruft uns hin \chord{C}aus, \\
|
||||
F \chord{D}es \chord{H7}tland ad \chord{e}e :/
|
||||
/: \chord{C}Endlos der \chord{G}Himmel, \chord{D}endlos die \chord{G}See / Sie \chord{e}ruft uns \chord{C}hinaus, \\
|
||||
\chord{H7}Festland \chord{e}ade :/
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
|
||||
Reference in New Issue
Block a user