Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
e9fc459
1
Parent(s):
a3301d2
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def GenerateMIDI(progress=gr.Progress()):
|
|
147 |
while itrack < len(opus):
|
148 |
for event in opus[itrack]:
|
149 |
if event[0] == 'note_on' or event[0] == 'note_off':
|
150 |
-
output1.append(
|
151 |
itrack += 1
|
152 |
|
153 |
audio = synthesis([500, output1], 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
|
|
|
147 |
while itrack < len(opus):
|
148 |
for event in opus[itrack]:
|
149 |
if event[0] == 'note_on' or event[0] == 'note_off':
|
150 |
+
output1.append(event)
|
151 |
itrack += 1
|
152 |
|
153 |
audio = synthesis([500, output1], 'SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2')
|