Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Update app.py
Browse files
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,
|
|
|
|
|
|
|
|
|
|
|
469 |
|
470 |
output_trg_audio = (16000, taudio)
|
471 |
-
output_trg_plot = plot_ms_SONG(tsong_f,
|
|
|
|
|
|
|
|
|
|
|
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)
|