def test_separation(): plt.figure() x0, fs = load_wav('data/separation/ref05/0.wav') x1, fs = load_wav('data/separation/ref05/1.wav') x2, fs = load_wav('data/separation/ref05/2.wav') mir_eval.display.separation([x0, x1, x2], fs=fs)
def test_separation_label(): plt.figure() x0, fs = load_wav("tests/data/separation/ref05/0.wav") x1, fs = load_wav("tests/data/separation/ref05/1.wav") x2, fs = load_wav("tests/data/separation/ref05/2.wav") mir_eval.display.separation([x0, x1, x2], fs=fs, labels=["Alice", "Bob", "Carol"]) plt.legend()
def test_separation_label(): plt.figure() x0, fs = load_wav('data/separation/ref05/0.wav') x1, fs = load_wav('data/separation/ref05/1.wav') x2, fs = load_wav('data/separation/ref05/2.wav') mir_eval.display.separation([x0, x1, x2], fs=fs, labels=['Alice', 'Bob', 'Carol']) plt.legend()