asigalov61 commited on
Commit
afd56a5
1 Parent(s): 2967e03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -62,6 +62,8 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
62
  escore = TMIDIX.advanced_score_processor(raw_score, return_enhanced_score_notes=True)[0]
63
 
64
  escore= TMIDIX.augment_enhanced_score_notes(escore)
 
 
65
 
66
  cscore = TMIDIX.chordify_score([1000, escore])
67
 
 
62
  escore = TMIDIX.advanced_score_processor(raw_score, return_enhanced_score_notes=True)[0]
63
 
64
  escore= TMIDIX.augment_enhanced_score_notes(escore)
65
+
66
+ first_note_index = [e[0] for e in escore].index('note')
67
 
68
  cscore = TMIDIX.chordify_score([1000, escore])
69