Update app.py
Browse files
app.py
CHANGED
@@ -355,12 +355,12 @@ def Convert_Score_to_Performance(input_midi,
|
|
355 |
print('Rendering results...')
|
356 |
|
357 |
print('=' * 70)
|
358 |
-
print('Sample INTs',
|
359 |
print('=' * 70)
|
360 |
|
361 |
song_f = []
|
362 |
|
363 |
-
if len(
|
364 |
|
365 |
time = 0
|
366 |
dur = 0
|
@@ -371,7 +371,7 @@ def Convert_Score_to_Performance(input_midi,
|
|
371 |
|
372 |
patches = [0] * 16
|
373 |
|
374 |
-
for ss in
|
375 |
|
376 |
if 0 <= ss < 256:
|
377 |
|
|
|
355 |
print('Rendering results...')
|
356 |
|
357 |
print('=' * 70)
|
358 |
+
print('Sample INTs', final_song[:15])
|
359 |
print('=' * 70)
|
360 |
|
361 |
song_f = []
|
362 |
|
363 |
+
if len(final_song) != 0:
|
364 |
|
365 |
time = 0
|
366 |
dur = 0
|
|
|
371 |
|
372 |
patches = [0] * 16
|
373 |
|
374 |
+
for ss in final_song:
|
375 |
|
376 |
if 0 <= ss < 256:
|
377 |
|