chord-transposer
chord-transposer copied to clipboard
Some chords (like suspended 7th) are not transposed
Code executed:
Transposer.transpose(input).fromKey("G").toKey("D")
input:
[Intro]
G7sus4/D
[Verse]
G C G F G
It's been a hard day's night and I've been working like a dog
output:
[Intro]
G7sus4/D
[Verse]
D G D C D
It's been a hard day's night and I've been working like a dog
Chord G7sus4/D is not transposed. If you change it to either G7, G7/D, Gsus4 or Gsus4/D then it will transpose correctly.
Looks like suspended seventh chord is the problem.