Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
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()
Ejemplo n.º 3
0
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()