asigalov61 commited on
Commit
92e004d
1 Parent(s): 74d6d93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ def Generate_Chords_Progression(total_song_length_in_chords_chunks,
179
 
180
  if merge_chords_notes > 0:
181
  escore_matrix = TMIDIX.escore_notes_to_escore_matrix(output_score)
182
- output_score = TMIDIX.escore_matrix_to_merged_escore_notes(escore_matrix, max_note_duration=chord_time_step*4)
183
 
184
  midi_score = sorted(chords_labels + output_score, key=lambda x: x[1])
185
 
 
179
 
180
  if merge_chords_notes > 0:
181
  escore_matrix = TMIDIX.escore_notes_to_escore_matrix(output_score)
182
+ output_score = TMIDIX.escore_matrix_to_merged_escore_notes(escore_matrix, max_note_duration=merge_chords_notes)
183
 
184
  midi_score = sorted(chords_labels + output_score, key=lambda x: x[1])
185