Spaces:
Sleeping
Sleeping
Commit
•
f626247
1
Parent(s):
f7f27b0
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, mel
|
|
94 |
e[6] = max(0, min(127, melody_patch))
|
95 |
|
96 |
if e[4] < 60:
|
97 |
-
e[4] = (e[4] % 12) +
|
98 |
|
99 |
elif render_type == "Transform":
|
100 |
output_score = copy.deepcopy(escore)
|
|
|
94 |
e[6] = max(0, min(127, melody_patch))
|
95 |
|
96 |
if e[4] < 60:
|
97 |
+
e[4] = (e[4] % 12) + 60
|
98 |
|
99 |
elif render_type == "Transform":
|
100 |
output_score = copy.deepcopy(escore)
|