Spaces:
Running
Running
asigalov61
commited on
Commit
•
5f855a1
1
Parent(s):
abb25f7
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
|
|
82 |
output_score = copy.deepcopy(escore)
|
83 |
|
84 |
elif render_type == "Extract melody":
|
85 |
-
output_score = TMIDIX.extract_melody(cscore, melody_range=[48,
|
86 |
|
87 |
elif render_type == "Transform":
|
88 |
output_score = TMIDIX.flip_enhanced_score_notes(escore)
|
|
|
82 |
output_score = copy.deepcopy(escore)
|
83 |
|
84 |
elif render_type == "Extract melody":
|
85 |
+
output_score = TMIDIX.extract_melody(cscore, melody_range=[48, 84])
|
86 |
|
87 |
elif render_type == "Transform":
|
88 |
output_score = TMIDIX.flip_enhanced_score_notes(escore)
|