asigalov61 commited on
Commit
4892a89
·
verified ·
1 Parent(s): 74acb77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -465,10 +465,20 @@ def CompareMIDIs(input_src_midi, input_trg_midi, input_sampling_resolution, inpu
465
  #========================================================
466
 
467
  output_src_audio = (16000, saudio)
468
- output_src_plot = plot_ms_SONG(ssong_f, plot_title=sfn1, plot_curve_values=comp_cos_sims, return_plt=True)
 
 
 
 
 
469
 
470
  output_trg_audio = (16000, taudio)
471
- output_trg_plot = plot_ms_SONG(tsong_f, plot_title=tfn1, plot_curve_values=comp_cos_sims, return_plt=True)
 
 
 
 
 
472
 
473
  print('Done!')
474
  print('=' * 70)
 
465
  #========================================================
466
 
467
  output_src_audio = (16000, saudio)
468
+ output_src_plot = plot_ms_SONG(ssong_f,
469
+ plot_title=sfn1,
470
+ plot_curve_values=comp_cos_sims,
471
+ plot_curve_notes_step=max(1, sampling_resolution-sampling_overlap),
472
+ return_plt=True
473
+ )
474
 
475
  output_trg_audio = (16000, taudio)
476
+ output_trg_plot = plot_ms_SONG(tsong_f,
477
+ plot_title=tfn1,
478
+ plot_curve_values=comp_cos_sims,
479
+ plot_curve_notes_step=max(1, sampling_resolution-sampling_overlap),
480
+ return_plt=True
481
+ )
482
 
483
  print('Done!')
484
  print('=' * 70)