naotokui commited on
Commit
257684d
1 Parent(s): 9a56c05

housekeeping

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def convert_table_to_audio(markdown_table, resolution=8, bpm = 120.0):
79
  if velocity > 0:
80
  if inst in MIDI_NOTENUM.keys():
81
  midinote = MIDI_NOTENUM[inst]
82
- note = pretty_midi.Note(velocity=velocity, pitch=midinote, start=note_length * (j-1)+0.01, end=note_length * j)
83
  pm_inst.notes.append(note)
84
 
85
  # convert to audio
 
79
  if velocity > 0:
80
  if inst in MIDI_NOTENUM.keys():
81
  midinote = MIDI_NOTENUM[inst]
82
+ note = pretty_midi.Note(velocity=velocity, pitch=midinote, start=note_length * (j-1)+0.0001, end=note_length * j)
83
  pm_inst.notes.append(note)
84
 
85
  # convert to audio