Spaces:
Running
Running
asigalov61
commited on
Commit
•
736f5d9
1
Parent(s):
f6c609c
Update app.py
Browse files
app.py
CHANGED
@@ -79,10 +79,10 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
|
|
79 |
output_score = copy.deepcopy(escore)
|
80 |
|
81 |
elif render_type == "Extract melody":
|
82 |
-
|
83 |
|
84 |
elif render_type == "Transform":
|
85 |
-
|
86 |
|
87 |
elif render_type == 'Repair':
|
88 |
output_score = []
|
|
|
79 |
output_score = copy.deepcopy(escore)
|
80 |
|
81 |
elif render_type == "Extract melody":
|
82 |
+
output_score = TMIDIX.extract_melody(cscore)
|
83 |
|
84 |
elif render_type == "Transform":
|
85 |
+
output_score = TMIDIX.flip_enhanced_score_notes(escore)
|
86 |
|
87 |
elif render_type == 'Repair':
|
88 |
output_score = []
|