Chord parsing
jm-welch opened this issue · 1 comments
jm-welch commented
Overview
Basic functionality - parse inline chords from lyrics and display on a separate line, above.
Requirement
- Chords should be enclosed in angle brackets,
[G]
- Should accept chords as letters or numbers ("Nashville Notation"),
[em]
,[6m]
- Chords should be positioned immediately above their location in the lyric line (no offset)
Example
Sample input:
And it's [5]no, nay, never, [1]No nay never no [4]more, Will I [1]play the wild [4]rover No [5]never no [1]more
Sample output:
5 And it's no, nay, never, 1 4 No nay never no more, 1 6m Will I play the wild rover 5 1 No never no more