asigalov61
commited on
Commit
•
87798b9
1
Parent(s):
db7e9d3
Update app.py
Browse files
app.py
CHANGED
@@ -148,10 +148,8 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
|
|
148 |
)
|
149 |
|
150 |
else:
|
151 |
-
midi_data = TMIDIX.score2midi(raw_score)
|
152 |
-
|
153 |
with open(new_fn, 'wb') as f:
|
154 |
-
f.write(
|
155 |
f.close()
|
156 |
|
157 |
if soundfont_bank in ["General MIDI", "Nice strings plus orchestra", "Real choir"]:
|
|
|
148 |
)
|
149 |
|
150 |
else:
|
|
|
|
|
151 |
with open(new_fn, 'wb') as f:
|
152 |
+
f.write(fdata)
|
153 |
f.close()
|
154 |
|
155 |
if soundfont_bank in ["General MIDI", "Nice strings plus orchestra", "Real choir"]:
|