From 5859d8ba1a167fe6cc631dddd6ad885ed044ee30 Mon Sep 17 00:00:00 2001 From: Vidhya V P <100825@ittiam.com> Date: Wed, 15 Feb 2023 14:12:47 +0530 Subject: [PATCH 1/2] Added new test case for DTX & SBA BR switching --- scripts/config/self_test.prm | 4 ++++ tests/test_param_file.py | 1 + 2 files changed, 5 insertions(+) diff --git a/scripts/config/self_test.prm b/scripts/config/self_test.prm index b02a3fb667..a007d937a1 100644 --- a/scripts/config/self_test.prm +++ b/scripts/config/self_test.prm @@ -581,6 +581,10 @@ ../IVAS_cod -dtx -sba 1 ../scripts/switchPaths/sw_13k2_192k_50fr.bin 32 testv/stvFOA32c.pcm bit ../IVAS_dec BINAURAL 32 bit testv/stvFOA32c.pcm_sw_32-32_DTX_BINAURAL.tst +// SBA 3OA bitrate switching from 13.2 kbps to 128 kbps, 32kHz in, 32kHz out,DTX on, HOA3 out +../IVAS_cod -dtx -sba 3 ../scripts/switchPaths/sw_13k2_to_128k_10fr.bin 32 testv/stv3OA32c.pcm bit +../IVAS_dec HOA3 32 bit testv/stv3OA32c.pcm_sw_32-32_DTX_HOA3.tst + // MASA 1dir 1TC at 13.2 kbps, 48kHz in, 48kHz out, BINAURAL out ../IVAS_cod -masa 1 testv/stv_IVASMASA_1dir1TC.met 13200 48 testv/stv_IVASMASA_1dir1TC.pcm bit ../IVAS_dec BINAURAL 48 bit testv/stv_IVASMASA_1dir1TC.pcm_13200_48-48_BINAURAL.tst diff --git a/tests/test_param_file.py b/tests/test_param_file.py index a4cfa12e2a..ea8a66c36d 100644 --- a/tests/test_param_file.py +++ b/tests/test_param_file.py @@ -360,6 +360,7 @@ def pre_proc_input(testv_file, fs): num_channel = "9" elif "stv3OA" in testv_file: num_channel = "16" + cut_len = "20.0" cut_file = testv_file.replace(".pcm", num_channel + "chn_" + cut_gain + ".pcm") cut_samples( testv_file, cut_file, num_channel, fs + "000", cut_from, cut_len, cut_gain -- GitLab From 2bf9b7b82aef8b58ced582501c73e93292fa339d Mon Sep 17 00:00:00 2001 From: Vidhya V P <100825@ittiam.com> Date: Thu, 16 Feb 2023 10:53:07 +0530 Subject: [PATCH 2/2] Reverted the change in test_param_file.py --- tests/test_param_file.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_param_file.py b/tests/test_param_file.py index ea8a66c36d..a4cfa12e2a 100644 --- a/tests/test_param_file.py +++ b/tests/test_param_file.py @@ -360,7 +360,6 @@ def pre_proc_input(testv_file, fs): num_channel = "9" elif "stv3OA" in testv_file: num_channel = "16" - cut_len = "20.0" cut_file = testv_file.replace(".pcm", num_channel + "chn_" + cut_gain + ".pcm") cut_samples( testv_file, cut_file, num_channel, fs + "000", cut_from, cut_len, cut_gain -- GitLab