diff --git a/tests/create_short_testvectors.py b/tests/create_short_testvectors.py index 13afe8a422f291c2b27d896f06e0410e02754628..56c41d49b85a684087e5bfbb174e1a2a7e799a5d 100755 --- a/tests/create_short_testvectors.py +++ b/tests/create_short_testvectors.py @@ -57,6 +57,9 @@ def create_short_testvectors(): cut_gain = "16.0" cut_file = f"{TEST_VECTOR_DIR}/stvFOA{fs}c_cut_{cut_gain}.pcm" cut_samples(in_file, cut_file, NUM_CHANNELS, fs + "000", CUT_FROM, CUT_LEN, cut_gain) + cut_gain = ".004" + cut_file = f"{TEST_VECTOR_DIR}/stvFOA{fs}c_cut_{cut_gain}.pcm" + cut_samples(in_file, cut_file, NUM_CHANNELS, fs + "000", CUT_FROM, CUT_LEN, cut_gain) if __name__ == "__main__": diff --git a/tests/test_sba_bs_enc.py b/tests/test_sba_bs_enc.py index 39991640205b894d6d122563aed720984e49650d..95cfea1d198564b5eca6a68fe3a166f4366732ed 100644 --- a/tests/test_sba_bs_enc.py +++ b/tests/test_sba_bs_enc.py @@ -170,9 +170,10 @@ def test_sba_enc_system( output_config = "FOA" if agc == 1: cut_gain = "16.0" + elif dtx == '1': + cut_gain = ".004" else: - cut_gain = "1.0" - + cut_gain = "1.0" # enc sba_enc( dut_encoder_frontend,