chord-transposer icon indicating copy to clipboard operation
chord-transposer copied to clipboard

Some chords (like suspended 7th) are not transposed

Open contributor opened this issue 2 years ago • 0 comments

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.

contributor avatar Oct 22 '22 15:10 contributor