asigalov61 commited on
Commit
9b82b75
·
verified ·
1 Parent(s): 5949155

Upload TMIDIX.py

Browse files
Files changed (1) hide show
  1. TMIDIX.py +1 -1
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