asigalov61 commited on
Commit
ffdd828
1 Parent(s): 7d60467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -92,6 +92,7 @@ def render_midi(input_midi,
92
 
93
  elif render_type == "Extract melody":
94
  output_score = TMIDIX.add_melody_to_enhanced_score_notes(escore, return_melody=True)
 
95
 
96
  elif render_type == "Flip":
97
  output_score = TMIDIX.flip_enhanced_score_notes(escore)
 
92
 
93
  elif render_type == "Extract melody":
94
  output_score = TMIDIX.add_melody_to_enhanced_score_notes(escore, return_melody=True)
95
+ output_score = TMIDIX.recalculate_score_timings(output_score)
96
 
97
  elif render_type == "Flip":
98
  output_score = TMIDIX.flip_enhanced_score_notes(escore)