Loading tests/hrtf_binary_loading/test_codec_ROM_vs_file.py +11 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ import itertools from tests.hrtf_binary_loading.utils import * from .constants import HRTF_TAGS, MC_BITRATE_FOR_FORMAT from .constants import HRTF_TAGS, MC_BITRATE_FOR_FORMAT, HRTF_TAG_DIFF_FROM_ROM """ Binary file """ Loading @@ -53,6 +53,8 @@ def test_binary_file(test_info, hrtf_tag, out_fs): [ ( x[0], x[1], MC_BITRATE_FOR_FORMAT[x[1]], x[2], x[3] ) for x in itertools.product(HRTF_TAGS, INPUT_FORMATS_MC, SAMPLE_RATE, OUTPUT_FORMATS_BINAURAL[:-1]) ] ) def test_multichannel_binaural_static(test_info, in_fmt, out_fmt, out_fs, hrtf_tag, bitrate): if bitrate == 32000: pytest.skip("Skip paramBin until differences are fixed") in_fs = 48 option_list = ["-mc", in_fmt] in_file = FORMAT_TO_FILE_MC_WOEXT[in_fmt].format(in_fs) Loading @@ -75,6 +77,8 @@ def test_multichannel_binaural_static(test_info, in_fmt, out_fmt, out_fs, hrtf_t def test_multichannel_binaural_headrotation( test_info, in_fmt, out_fmt, out_fs, trj_file, hrtf_tag, bitrate ): if bitrate == 32000: pytest.skip("Skip paramBin until differences are fixed") in_fs = 48 option_list = ["-mc", in_fmt] in_file = FORMAT_TO_FILE_MC_WOEXT[in_fmt].format(in_fs) Loading @@ -101,6 +105,8 @@ def test_multichannel_binaural_headrotation( @pytest.mark.parametrize("in_fmt", INPUT_FORMATS_SBA) @pytest.mark.parametrize("hrtf_tag", HRTF_TAGS) def test_sba_binaural_static(test_info, bitrate, in_fmt, fs, out_fmt, hrtf_tag): if bitrate == 64000: pytest.skip("Skip paramBin until differences are fixed") option_list = ["-sba", in_fmt] in_file = FORMAT_TO_FILE_SBA_WOEXT[in_fmt].format(fs) Loading @@ -123,6 +129,8 @@ def test_sba_binaural_static(test_info, bitrate, in_fmt, fs, out_fmt, hrtf_tag): @pytest.mark.parametrize("in_fmt", INPUT_FORMATS_SBA) @pytest.mark.parametrize("hrtf_tag", HRTF_TAGS) def test_sba_binaural_headrotation(test_info, bitrate, in_fmt, fs, out_fmt, trj_file, hrtf_tag): if bitrate == 64000: pytest.skip("Skip paramBin until differences are fixed") option_list = ["-sba", in_fmt] in_file = FORMAT_TO_FILE_SBA_WOEXT[in_fmt].format(fs) Loading @@ -149,7 +157,7 @@ def test_sba_binaural_headrotation(test_info, bitrate, in_fmt, fs, out_fmt, trj_ @pytest.mark.parametrize("hrtf_tag", HRTF_TAGS) def test_masa_binaural_static(test_info, in_tc, in_dir, fs, out_fmt, hrtf_tag): # TODO: remove once fixed if hrtf_tag == HRTF_BINARY_FILE_DIFF_FROM_ROM: if hrtf_tag == HRTF_TAG_DIFF_FROM_ROM: pytest.skip("Skipped due to bug in paramBin HRTF loading") bitrate = 256000 metadata_file = str( Loading Loading @@ -180,7 +188,7 @@ def test_masa_binaural_headrotation( test_info, in_tc, in_dir, fs, out_fmt, trj_file, hrtf_tag ): # TODO: remove once fixed if hrtf_tag == HRTF_BINARY_FILE_DIFF_FROM_ROM: if hrtf_tag == HRTF_TAG_DIFF_FROM_ROM: pytest.skip("Skipped due to bug in paramBin HRTF loading") bitrate = 256000 metadata_file = str( Loading tests/hrtf_binary_loading/test_renderer_ROM_vs_file.py +4 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,8 @@ def test_masa_binaural_static_with_binary_hrir( ): if out_fmt in ["BINAURAL_ROOM_IR", "BINAURAL_ROOM_REVERB"]: pytest.skip("Skipping binaural room outputs for MASA as unimplemented.") if hrtf_tag == HRTF_TAG_SAME_AS_ROM: pytest.skip("Skipping paramBin until fixed") compare_renderer_vs_renderer_with_binary_hrir( test_info, Loading @@ -198,6 +200,8 @@ def test_masa_binaural_headrotation_with_binary_hrir( ): if out_fmt in ["BINAURAL_ROOM_IR", "BINAURAL_ROOM_REVERB"]: pytest.skip("Skipping binaural room outputs for MASA as unimplemented.") if hrtf_tag == HRTF_TAG_SAME_AS_ROM: pytest.skip("Skipping paramBin until fixed") compare_renderer_vs_renderer_with_binary_hrir( test_info, Loading tests/hrtf_binary_loading/utils.py +1 −1 File changed.Contains only whitespace changes. Show changes Loading
tests/hrtf_binary_loading/test_codec_ROM_vs_file.py +11 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ import itertools from tests.hrtf_binary_loading.utils import * from .constants import HRTF_TAGS, MC_BITRATE_FOR_FORMAT from .constants import HRTF_TAGS, MC_BITRATE_FOR_FORMAT, HRTF_TAG_DIFF_FROM_ROM """ Binary file """ Loading @@ -53,6 +53,8 @@ def test_binary_file(test_info, hrtf_tag, out_fs): [ ( x[0], x[1], MC_BITRATE_FOR_FORMAT[x[1]], x[2], x[3] ) for x in itertools.product(HRTF_TAGS, INPUT_FORMATS_MC, SAMPLE_RATE, OUTPUT_FORMATS_BINAURAL[:-1]) ] ) def test_multichannel_binaural_static(test_info, in_fmt, out_fmt, out_fs, hrtf_tag, bitrate): if bitrate == 32000: pytest.skip("Skip paramBin until differences are fixed") in_fs = 48 option_list = ["-mc", in_fmt] in_file = FORMAT_TO_FILE_MC_WOEXT[in_fmt].format(in_fs) Loading @@ -75,6 +77,8 @@ def test_multichannel_binaural_static(test_info, in_fmt, out_fmt, out_fs, hrtf_t def test_multichannel_binaural_headrotation( test_info, in_fmt, out_fmt, out_fs, trj_file, hrtf_tag, bitrate ): if bitrate == 32000: pytest.skip("Skip paramBin until differences are fixed") in_fs = 48 option_list = ["-mc", in_fmt] in_file = FORMAT_TO_FILE_MC_WOEXT[in_fmt].format(in_fs) Loading @@ -101,6 +105,8 @@ def test_multichannel_binaural_headrotation( @pytest.mark.parametrize("in_fmt", INPUT_FORMATS_SBA) @pytest.mark.parametrize("hrtf_tag", HRTF_TAGS) def test_sba_binaural_static(test_info, bitrate, in_fmt, fs, out_fmt, hrtf_tag): if bitrate == 64000: pytest.skip("Skip paramBin until differences are fixed") option_list = ["-sba", in_fmt] in_file = FORMAT_TO_FILE_SBA_WOEXT[in_fmt].format(fs) Loading @@ -123,6 +129,8 @@ def test_sba_binaural_static(test_info, bitrate, in_fmt, fs, out_fmt, hrtf_tag): @pytest.mark.parametrize("in_fmt", INPUT_FORMATS_SBA) @pytest.mark.parametrize("hrtf_tag", HRTF_TAGS) def test_sba_binaural_headrotation(test_info, bitrate, in_fmt, fs, out_fmt, trj_file, hrtf_tag): if bitrate == 64000: pytest.skip("Skip paramBin until differences are fixed") option_list = ["-sba", in_fmt] in_file = FORMAT_TO_FILE_SBA_WOEXT[in_fmt].format(fs) Loading @@ -149,7 +157,7 @@ def test_sba_binaural_headrotation(test_info, bitrate, in_fmt, fs, out_fmt, trj_ @pytest.mark.parametrize("hrtf_tag", HRTF_TAGS) def test_masa_binaural_static(test_info, in_tc, in_dir, fs, out_fmt, hrtf_tag): # TODO: remove once fixed if hrtf_tag == HRTF_BINARY_FILE_DIFF_FROM_ROM: if hrtf_tag == HRTF_TAG_DIFF_FROM_ROM: pytest.skip("Skipped due to bug in paramBin HRTF loading") bitrate = 256000 metadata_file = str( Loading Loading @@ -180,7 +188,7 @@ def test_masa_binaural_headrotation( test_info, in_tc, in_dir, fs, out_fmt, trj_file, hrtf_tag ): # TODO: remove once fixed if hrtf_tag == HRTF_BINARY_FILE_DIFF_FROM_ROM: if hrtf_tag == HRTF_TAG_DIFF_FROM_ROM: pytest.skip("Skipped due to bug in paramBin HRTF loading") bitrate = 256000 metadata_file = str( Loading
tests/hrtf_binary_loading/test_renderer_ROM_vs_file.py +4 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,8 @@ def test_masa_binaural_static_with_binary_hrir( ): if out_fmt in ["BINAURAL_ROOM_IR", "BINAURAL_ROOM_REVERB"]: pytest.skip("Skipping binaural room outputs for MASA as unimplemented.") if hrtf_tag == HRTF_TAG_SAME_AS_ROM: pytest.skip("Skipping paramBin until fixed") compare_renderer_vs_renderer_with_binary_hrir( test_info, Loading @@ -198,6 +200,8 @@ def test_masa_binaural_headrotation_with_binary_hrir( ): if out_fmt in ["BINAURAL_ROOM_IR", "BINAURAL_ROOM_REVERB"]: pytest.skip("Skipping binaural room outputs for MASA as unimplemented.") if hrtf_tag == HRTF_TAG_SAME_AS_ROM: pytest.skip("Skipping paramBin until fixed") compare_renderer_vs_renderer_with_binary_hrir( test_info, Loading