Commit f1889790 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

generate mono short vectors in _cut format

parent 964def59
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ import sys
import logging
from pathlib import Path

from cut_pcm import cut_samples
from .cut_pcm import cut_samples

HERE = Path(__file__).parent.resolve()
TEST_VECTOR_DIR = HERE.joinpath("../scripts/testv").resolve()
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ def test_format_switching_new_encoder (
    cut_suffix = "_cut.wav"
    test_file = Path( str(FORMAT_TO_FILE_COMPARETEST["MONO"]).replace(".wav", cut_suffix) )
    if not test_file.exists():
        create_short_testvectors(1.0, False, None)
        create_short_testvectors(1.0, False, None, all=True)

    with TemporaryDirectory() as tmp_dir: