asigalov61 commited on
Commit
a2952e6
1 Parent(s): 1209231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -86,6 +86,9 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
86
 
87
  if e[4] < 60:
88
  e[4] = (e[4] % 12) + 60
 
 
 
89
 
90
  output_score = TMIDIX.fix_monophonic_score_durations(melody_score)
91
 
 
86
 
87
  if e[4] < 60:
88
  e[4] = (e[4] % 12) + 60
89
+
90
+ if e[4] > 84:
91
+ e[4] = (e[4] % 12) + 72
92
 
93
  output_score = TMIDIX.fix_monophonic_score_durations(melody_score)
94