choco icon indicating copy to clipboard operation
choco copied to clipboard

X half diminished chords parsed as X flat 7 chords in iReal Pro part of ChoCo

Open rubencart opened this issue 10 months ago • 1 comments

audiojams = jams.load('data/choco/v1.0.0/jams/ireal-pro_1132.jams')
audiojams.file_metadata.title
Out[39]: 'Serenity'
chordann = audiojams.annotations.search(namespace='chord_harte')[0]
chord_strings = [c.value for c in chordann.data if c.value != "N"]
chord_strings
Out[25]: 
['Db:7',
 'G:(3,5,b7,9,11,b13)',
 'Ab:(3,5,7,9,#11)',
 'Gb:(3,5,7,9,#11)',
 'E:min7',
 'A:7',
 'F:min7',
 'Bb:7',
 'Eb:maj7',
 'Db:maj',
 'G:7',
 'C:min7',
 'C:min7/b7',
 'Ab:min7',
 'Db:7',
 'G:7',
 'Gb:7',
 'F:7',
 'E:(3,5,7,9,#11)',
 'F:min7',
 'Bb:(3,#5,b7)',
 'Eb:maj7',
 'Db:7',
 'G:(3,5,b7,9,11,b13)']

Now if you check the serenity.jazz file included in the iRealPro dataset you'll see that it starts with

1Dh7
=
1G7b13
=
2A-:maj7#11
2G-:maj7#11

The half diminished D chord is wrongfully parsed as a D flat dominant 7 chord. You can also find the lead sheet here, starting with a half diminished chord. The JHT dataset is based on the iRealPro dataset and it confirms this: the first chords of Serenity are 'D%7', 'G7', 'Ab^7', 'Gb^7', ... with D%7 representing D half diminished.

Same for Blues for Wood:

meta.loc[meta.title == 'Blues For Wood']
Out[53]: 
                 id           title  ... movement_no movement_title
7123  ireal-pro_229  Blues For Wood  ...         NaN            NaN
[1 rows x 19 columns]

audiojams = jams.load('data/choco/v1.0.0/jams/ireal-pro_229.jams', strict=False, validate=False)
chordann = audiojams.annotations.search(namespace='chord_harte')[0]
chord_strings = [c.value for c in chordann.data if c.value != "N"]
chord_strings
Out[54]: 
['F:min7',
 'F:min7',
 'F:min7',
 'F:min7',
 'Db:7',
 'Db:7',
 'F:min7',
 'F:min7',
 'Db:7',
 'Bb:maj7',
 'Gb:7',
 'C:(3,5,b7,#9)',
 'F:min7']

The 'Gb:7' chord should be G half diminished and not G flat as can be checked here or in the bluesforwood.jazz file in the iRealPro dataset.

I don't know if this applies to only half-diminished chords or also to other chord types, to all half-diminished in iRealPro or even to all half-diminished chords in Choco.

rubencart avatar Apr 11 '24 14:04 rubencart