Spaces:
Running
Running
Upload TMIDIX.py
Browse files
TMIDIX.py
CHANGED
@@ -9618,7 +9618,7 @@ def escore_notes_to_text_description(escore_notes, song_name='', artist_name='')
|
|
9618 |
|
9619 |
most_common_tones_chords = [check_and_fix_tones_chord(list(c[0])) for c in tones_chords.most_common(10)]
|
9620 |
|
9621 |
-
if most_common_tones_chords
|
9622 |
|
9623 |
mood_scale = statistics.mode(tones_chords_to_types(most_common_tones_chords, return_chord_type_index=True)) % 3
|
9624 |
|
|
|
9618 |
|
9619 |
most_common_tones_chords = [check_and_fix_tones_chord(list(c[0])) for c in tones_chords.most_common(10)]
|
9620 |
|
9621 |
+
if most_common_tones_chords:
|
9622 |
|
9623 |
mood_scale = statistics.mode(tones_chords_to_types(most_common_tones_chords, return_chord_type_index=True)) % 3
|
9624 |
|