asigalov61
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -297,22 +297,7 @@ if __name__ == "__main__":
|
|
297 |
|
298 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"], type="filepath")
|
299 |
|
300 |
-
gr.Markdown("## Select desired render
|
301 |
-
|
302 |
-
render_type = gr.Radio(["Render as-is",
|
303 |
-
"Custom render",
|
304 |
-
"Extract melody",
|
305 |
-
"Flip",
|
306 |
-
"Reverse",
|
307 |
-
"Repair",
|
308 |
-
"Multi-Instrumental Summary",
|
309 |
-
"Solo Piano Summary"
|
310 |
-
],
|
311 |
-
label="Render type",
|
312 |
-
value="Render as-is"
|
313 |
-
)
|
314 |
-
|
315 |
-
gr.Markdown("## Select desired render options")
|
316 |
|
317 |
soundfont_bank = gr.Radio(["General MIDI",
|
318 |
"Nice strings plus orchestra",
|
@@ -333,6 +318,23 @@ if __name__ == "__main__":
|
|
333 |
value="16000"
|
334 |
)
|
335 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
custom_render_patch = gr.Slider(-1, 127, value=-1, label="Custom render MIDI patch")
|
337 |
|
338 |
render_transpose_value = gr.Slider(-12, 12, value=0, step=1, label="Transpose value")
|
|
|
297 |
|
298 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"], type="filepath")
|
299 |
|
300 |
+
gr.Markdown("## Select desired Sound Font bank and render sample rate")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
|
302 |
soundfont_bank = gr.Radio(["General MIDI",
|
303 |
"Nice strings plus orchestra",
|
|
|
318 |
value="16000"
|
319 |
)
|
320 |
|
321 |
+
gr.Markdown("## Select desired render type")
|
322 |
+
|
323 |
+
render_type = gr.Radio(["Render as-is",
|
324 |
+
"Custom render",
|
325 |
+
"Extract melody",
|
326 |
+
"Flip",
|
327 |
+
"Reverse",
|
328 |
+
"Repair",
|
329 |
+
"Multi-Instrumental Summary",
|
330 |
+
"Solo Piano Summary"
|
331 |
+
],
|
332 |
+
label="Render type",
|
333 |
+
value="Render as-is"
|
334 |
+
)
|
335 |
+
|
336 |
+
gr.Markdown("## Select custom render options")
|
337 |
+
|
338 |
custom_render_patch = gr.Slider(-1, 127, value=-1, label="Custom render MIDI patch")
|
339 |
|
340 |
render_transpose_value = gr.Slider(-12, 12, value=0, step=1, label="Transpose value")
|