Spaces:
Running
Running
Update app.py
Browse files
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 |
|