Spaces:
Running
Running
asigalov61
commited on
Commit
•
3be2e73
1
Parent(s):
03ccdef
Update app.py
Browse files
app.py
CHANGED
@@ -336,7 +336,7 @@ def match_midi(midi, max_match_ratio, progress=gr.Progress()):
|
|
336 |
|
337 |
mid_seq = md[1][17:-1]
|
338 |
mid_seq_ticks = md[1][16][1]
|
339 |
-
mdata = md[1]
|
340 |
|
341 |
txt_mdata = ''
|
342 |
|
@@ -350,6 +350,14 @@ def match_midi(midi, max_match_ratio, progress=gr.Progress()):
|
|
350 |
txt_mdata += str(m[0]) + ': ' + str(m[1])
|
351 |
txt_mdata += chr(10)
|
352 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
x = []
|
354 |
y = []
|
355 |
c = []
|
|
|
336 |
|
337 |
mid_seq = md[1][17:-1]
|
338 |
mid_seq_ticks = md[1][16][1]
|
339 |
+
mdata = md[1][:16]
|
340 |
|
341 |
txt_mdata = ''
|
342 |
|
|
|
350 |
txt_mdata += str(m[0]) + ': ' + str(m[1])
|
351 |
txt_mdata += chr(10)
|
352 |
|
353 |
+
txt_mdata += '==============================================================' + chr(10)
|
354 |
+
|
355 |
+
for m in md[1]:
|
356 |
+
txt_mdata += str(m)
|
357 |
+
txt_mdata += chr(10)
|
358 |
+
|
359 |
+
txt_mdata += '==============================================================' + chr(10)
|
360 |
+
|
361 |
x = []
|
362 |
y = []
|
363 |
c = []
|