asigalov61
commited on
Commit
•
19d40f5
1
Parent(s):
c4da2ff
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,8 @@ def render_midi(input_midi,
|
|
97 |
output_score = TMIDIX.flip_enhanced_score_notes(escore)
|
98 |
|
99 |
elif render_type == "Reverse":
|
100 |
-
|
|
|
101 |
|
102 |
elif render_type == 'Repair':
|
103 |
fixed_cscore = TMIDIX.advanced_check_and_fix_chords_in_chordified_score(cscore)[0]
|
|
|
97 |
output_score = TMIDIX.flip_enhanced_score_notes(escore)
|
98 |
|
99 |
elif render_type == "Reverse":
|
100 |
+
ematrix = TMIDIX.escore_notes_to_escore_matrix(escore, reverse_matrix=True)
|
101 |
+
output_score = TMIDIX.escore_matrix_to_original_escore_notes(ematrix)
|
102 |
|
103 |
elif render_type == 'Repair':
|
104 |
fixed_cscore = TMIDIX.advanced_check_and_fix_chords_in_chordified_score(cscore)[0]
|