asigalov61 commited on
Commit
cc11e53
·
verified ·
1 Parent(s): 9fce27b

Upload TMIDIX.py

Browse files
Files changed (1) hide show
  1. TMIDIX.py +4 -0
TMIDIX.py CHANGED
@@ -9599,10 +9599,14 @@ def escore_notes_to_text_description(escore_notes, song_name='', artist_name='')
9599
 
9600
  pitches = [e[4] for e in escore_notes if e[3] != 9]
9601
 
 
 
9602
  if pitches:
9603
  key = SEMITONES[statistics.mode(pitches) % 12]
9604
 
9605
  #==============================================================================
 
 
9606
 
9607
  if pitches:
9608
 
 
9599
 
9600
  pitches = [e[4] for e in escore_notes if e[3] != 9]
9601
 
9602
+ key = ''
9603
+
9604
  if pitches:
9605
  key = SEMITONES[statistics.mode(pitches) % 12]
9606
 
9607
  #==============================================================================
9608
+
9609
+ mood = ''
9610
 
9611
  if pitches:
9612