Skip to content

Commit

Permalink
corrected mir_eval types
Browse files Browse the repository at this point in the history
  • Loading branch information
maximoskp committed Dec 7, 2024
1 parent 879bf66 commit 7657734
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions muspy/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@
EXT_MIR_QUALITIES = deepcopy( MIR_QUALITIES )
for k in list(EXT_MIR_QUALITIES.keys()) + ['7(b9)', '7(#9)', '7(#11)', '7(b13)']:
_, semitone_bitmap, _ = mir_eval.chord.encode( 'C' + (len(k) > 0)*':' + k, reduce_extended_chords=True )
# _, quality, scale_degrees, _ = mir_eval.chord.split( 'C' + (len(k) > 0)*':' + k, reduce_extended_chords=True )
# semitone_bitmap = mir_eval.chord.quality_to_bitmap(quality)
# semitone_bitmap[0] = 1
# for scale_degree in scale_degrees:
# semitone_bitmap += mir_eval.chord.scale_degree_to_bitmap(scale_degree, True)
EXT_MIR_QUALITIES[k] = semitone_bitmap

def get_end_time(list_: List, is_sorted: bool = False, attr: str = "time"):
Expand Down

0 comments on commit 7657734

Please sign in to comment.