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,14 +9,14 @@
|
||||
}
|
||||
|
||||
\begin{verse}
|
||||
\chord{D}Almost heaven, We \chord{h}st Virginia, \\
|
||||
blue ridge Mountains, Shena \chord{G}ndoah River. \\
|
||||
\chord{D}Almost heaven, \chord{h}West Virginia, \\
|
||||
blue ridge Mountains, \chord{G}Shenandoah River. \\
|
||||
Life is old there, \chord{h}older than the trees, \\
|
||||
\chord{A}younger than the mountains growin \chord{G}g like a b \chord{D}reeze. \\
|
||||
\chord{A}younger than the mountains \chord{G}growing like a \chord{D}breeze. \\
|
||||
Ref.: \\
|
||||
Country \chord{D}roads, take me ho \chord{A}me to the pl \chord{h}ace I bel \chord{G}ong: \\
|
||||
West V \chord{D}irginia, mountain m \chord{A}omma, \\
|
||||
take me h \chord{G}ome, Country ro \chord{D}ads.
|
||||
Country \chord{D}roads, take me \chord{A}home to the \chord{h}place I \chord{G}belong: \\
|
||||
West \chord{D}Virginia, mountain \chord{A}momma, \\
|
||||
take me \chord{G}home, Country \chord{D}roads.
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
@@ -28,11 +28,11 @@ Country roads....
|
||||
\end{verse}
|
||||
|
||||
\begin{verse}
|
||||
I hear the v \chord{A}oice in the mor \chord{D}nin´ hour she calls me, \\
|
||||
the r \chord{G}adio remind \chord{D}s me of my home \chord{A} far away, \\
|
||||
and dr \chord{h}iving down the roa \chord{C}ds \\
|
||||
I get a f \chord{G}eeling that I sh \chord{D}ould have been home \\
|
||||
ye \chord{A}sterday, yesterda \chord{A7}y, Country road \chord{D}s...
|
||||
I hear the \chord{A}voice in the \chord{D}mornin´ hour she calls me, \\
|
||||
the \chord{G}radio \chord{D}reminds me of my home \chord{A}far away, \\
|
||||
and \chord{h}driving down the \chord{C}roads \\
|
||||
I get a \chord{G}feeling that I \chord{D}should have been home \\
|
||||
\chord{A}yesterday, \chord{A7}yesterday, Country \chord{D}roads...
|
||||
\end{verse}
|
||||
|
||||
\end{song}
|
||||
|
||||
Reference in New Issue
Block a user