asigalov61 commited on
Commit
9372e8e
·
verified ·
1 Parent(s): 4e5a4ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -468,7 +468,7 @@ def CompareMIDIs(input_src_midi, input_trg_midi, input_sampling_resolution, inpu
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
 
@@ -476,7 +476,7 @@ def CompareMIDIs(input_src_midi, input_trg_midi, input_sampling_resolution, inpu
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
 
 
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) // 3,
472
  return_plt=True
473
  )
474
 
 
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) // 3,
480
  return_plt=True
481
  )
482