Spaces:
Sleeping
Sleeping
asigalov61
commited on
Commit
•
9dc1ce0
1
Parent(s):
afd56a5
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
|
|
63 |
|
64 |
escore= TMIDIX.augment_enhanced_score_notes(escore)
|
65 |
|
66 |
-
first_note_index = [e[0] for e in
|
67 |
|
68 |
cscore = TMIDIX.chordify_score([1000, escore])
|
69 |
|
|
|
63 |
|
64 |
escore= TMIDIX.augment_enhanced_score_notes(escore)
|
65 |
|
66 |
+
first_note_index = [e[0] for e in raw_score].index('note')
|
67 |
|
68 |
cscore = TMIDIX.chordify_score([1000, escore])
|
69 |
|