Loading scripts/ivas_pytests/tests/system_tests/test_spar_foa_bs_enc.py +8 −4 Original line number Diff line number Diff line Loading @@ -458,7 +458,8 @@ def test_spar_foa_enc_agc_system( agc, use_agc_ref, sba_order, update_ref update_ref, cut_gain="16.0" ) # dec Loading Loading @@ -499,7 +500,8 @@ def spar_foa_enc( use_agc_ref, sba_order, update_ref, in_extension = '.pcm' in_extension = '.pcm', cut_gain = '1.0' ): ######### run cmd ##################################### Loading Loading @@ -538,8 +540,10 @@ def spar_foa_enc( num_channels = "4" # currently only FOA inputs end up, here cut_from = "0.0" cut_len = "5.0" cut_gain = "1.0" if cut_gain == "1.0": cut_file = f"{test_vector_path}/{tag_in}_cut{in_extension}" else: cut_file = f"{test_vector_path}/{tag_in}_cut_{cut_gain}{in_extension}" if not os.path.exists(cut_file): cut_samples(input_path, cut_file, num_channels, sampling_rate + "000", cut_from, cut_len, cut_gain) input_path = cut_file Loading Loading
scripts/ivas_pytests/tests/system_tests/test_spar_foa_bs_enc.py +8 −4 Original line number Diff line number Diff line Loading @@ -458,7 +458,8 @@ def test_spar_foa_enc_agc_system( agc, use_agc_ref, sba_order, update_ref update_ref, cut_gain="16.0" ) # dec Loading Loading @@ -499,7 +500,8 @@ def spar_foa_enc( use_agc_ref, sba_order, update_ref, in_extension = '.pcm' in_extension = '.pcm', cut_gain = '1.0' ): ######### run cmd ##################################### Loading Loading @@ -538,8 +540,10 @@ def spar_foa_enc( num_channels = "4" # currently only FOA inputs end up, here cut_from = "0.0" cut_len = "5.0" cut_gain = "1.0" if cut_gain == "1.0": cut_file = f"{test_vector_path}/{tag_in}_cut{in_extension}" else: cut_file = f"{test_vector_path}/{tag_in}_cut_{cut_gain}{in_extension}" if not os.path.exists(cut_file): cut_samples(input_path, cut_file, num_channels, sampling_rate + "000", cut_from, cut_len, cut_gain) input_path = cut_file Loading