asigalov61
commited on
Commit
•
8ea7c59
1
Parent(s):
35ed5ec
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def render_midi(input_midi,
|
|
63 |
|
64 |
escore = TMIDIX.advanced_score_processor(raw_score, return_enhanced_score_notes=True)[0]
|
65 |
|
66 |
-
escore= TMIDIX.augment_enhanced_score_notes(escore, timings_divider=1)
|
67 |
|
68 |
first_note_index = [e[0] for e in raw_score[1]].index('note')
|
69 |
|
@@ -143,8 +143,8 @@ def render_midi(input_midi,
|
|
143 |
output_score = TMIDIX.binary_matrix_to_original_escore_notes(smatrix)
|
144 |
|
145 |
for o in output_score:
|
146 |
-
o[1] *=
|
147 |
-
o[2] *=
|
148 |
|
149 |
SONG, patches, overflow_patches = TMIDIX.patch_enhanced_score_notes(output_score)
|
150 |
|
|
|
63 |
|
64 |
escore = TMIDIX.advanced_score_processor(raw_score, return_enhanced_score_notes=True)[0]
|
65 |
|
66 |
+
escore = TMIDIX.augment_enhanced_score_notes(escore, timings_divider=1)
|
67 |
|
68 |
first_note_index = [e[0] for e in raw_score[1]].index('note')
|
69 |
|
|
|
143 |
output_score = TMIDIX.binary_matrix_to_original_escore_notes(smatrix)
|
144 |
|
145 |
for o in output_score:
|
146 |
+
o[1] *= 160
|
147 |
+
o[2] *= 160
|
148 |
|
149 |
SONG, patches, overflow_patches = TMIDIX.patch_enhanced_score_notes(output_score)
|
150 |
|