asigalov61 commited on
Commit
ff38efe
1 Parent(s): 15cd3cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -108,6 +108,10 @@ def AddMelody(input_midi, input_channel, input_patch, input_start_chord):
108
  output_midi_summary = str(output_score[:3])
109
  output_midi = str(new_fn)
110
  output_audio = (16000, audio)
 
 
 
 
111
 
112
  output_plot = TMIDIX.plot_ms_SONG(output_score, plot_title=output_midi_title, return_plt=True)
113
 
 
108
  output_midi_summary = str(output_score[:3])
109
  output_midi = str(new_fn)
110
  output_audio = (16000, audio)
111
+
112
+ for o in output_score:
113
+ o[1] *= 16
114
+ o[2] *= 16
115
 
116
  output_plot = TMIDIX.plot_ms_SONG(output_score, plot_title=output_midi_title, return_plt=True)
117