asigalov61 commited on
Commit
94c87ef
1 Parent(s): 8e723a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -163,10 +163,12 @@ def MixMelody(input_midi, input_find_best_match):
163
  print('Selected Monster Mono Melodies MIDI:', new_song[0])
164
  print('Selected melody instrument:', TMIDIX.Number2patch[new_song[1]], '(', new_song[1], ')')
165
  print('Melody notes count:', new_song[2])
 
166
 
167
  MIDI_Summary = 'Selected Monster Mono Melodies MIDI: ' + str(new_song[0]) + '\n'
168
  MIDI_Summary += 'Selected melody instrument: ' + str(TMIDIX.Number2patch[new_song[1]]) + ' (' + str(new_song[1]) + ')' + '\n'
169
- MIDI_Summary += 'Melody notes count: ' + str(new_song[2])
 
170
 
171
  fn1 += '_' + str(new_song[0]) + '_' + str(TMIDIX.Number2patch[new_song[1]]) + '_' + str(new_song[1]) + '_' + str(new_song[2])
172
 
 
163
  print('Selected Monster Mono Melodies MIDI:', new_song[0])
164
  print('Selected melody instrument:', TMIDIX.Number2patch[new_song[1]], '(', new_song[1], ')')
165
  print('Melody notes count:', new_song[2])
166
+ print('Matched melodies pool count', len(matched_songs))
167
 
168
  MIDI_Summary = 'Selected Monster Mono Melodies MIDI: ' + str(new_song[0]) + '\n'
169
  MIDI_Summary += 'Selected melody instrument: ' + str(TMIDIX.Number2patch[new_song[1]]) + ' (' + str(new_song[1]) + ')' + '\n'
170
+ MIDI_Summary += 'Melody notes count: ' + str(new_song[2]) + '\n'
171
+ MIDI_Summary += 'Matched melodies pool count: ' + len(matched_songs)
172
 
173
  fn1 += '_' + str(new_song[0]) + '_' + str(TMIDIX.Number2patch[new_song[1]]) + '_' + str(new_song[1]) + '_' + str(new_song[2])
174