Loading ci/smoke_test.sh +8 −3 Original line number Diff line number Diff line Loading @@ -49,7 +49,8 @@ if [ -z "$1" ] || [ "$1" == "test" ]; then elif [ "$1" == "coverage" ]; then WORKERS="-t 1" BUILD=0 PARALLEL="&" PARALLEL="" # PARALLEL="&" else usage fi Loading Loading @@ -112,20 +113,24 @@ eval "./scripts/runIvasCodec.py $verbosity_cmd -m $modes_with_ext_out -p $cfg $ # run all modes with binaural output using external files modes_with_bin_out="FOA HOA2 HOA3 PlanarFOA PlanarHOA2 PlanarHOA3 MASA MC ISM1 ISM2 ISM3 ISM4" bin_out_modes="BINAURAL BINAURAL_ROOM_IR" modes_with_bin_out=$(echo "$modes_with_bin_out" | tr '\n' ' ') bin_out_modes=$(echo "$bin_out_modes" | tr '\n' ' ') echo "\n======================= 6. binaural out with HRTF files - WB =======================\n\n" wb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _wb_) # trim the \n characters so it works with eval wb_modes=$(echo "$wb_modes" | tr '\n' ' ') hrtf_wb="../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_16kHz.bin" eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg -m $wb_modes $duration_arg $WORKERS -D="-hrtf ${hrtf_wb}" --decoder_only --oc $bin_out_modes | tee -a smoke_test_output_hrtf.txt" "$PARALLEL" echo "\n======================= 7. binaural out with HRTF files - SWB =======================\n\n" swb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _swb_) # trim the \n characters so it works with eval swb_modes=$(echo "$swb_modes" | tr '\n' ' ') hrtf_swb="../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_32kHz.bin" eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg -m $swb_modes $duration_arg $WORKERS -D="-hrtf ${hrtf_swb}" --decoder_only --oc $bin_out_modes | tee -a smoke_test_output_hrtf.txt" "$PARALLEL" echo "\n======================= 8. binaural out with HRTF files - FB =======================\n\n" fb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _fb_) # trim the \n characters so it works with eval fb_modes=$(echo "$fb_modes" | tr '\n' ' ') hrtf_fb="../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_48kHz.bin" eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg -m $fb_modes $duration_arg $WORKERS -D="-hrtf ${hrtf_fb}" --decoder_only --oc $bin_out_modes | tee -a smoke_test_output_hrtf.txt" "$PARALLEL" Loading
ci/smoke_test.sh +8 −3 Original line number Diff line number Diff line Loading @@ -49,7 +49,8 @@ if [ -z "$1" ] || [ "$1" == "test" ]; then elif [ "$1" == "coverage" ]; then WORKERS="-t 1" BUILD=0 PARALLEL="&" PARALLEL="" # PARALLEL="&" else usage fi Loading Loading @@ -112,20 +113,24 @@ eval "./scripts/runIvasCodec.py $verbosity_cmd -m $modes_with_ext_out -p $cfg $ # run all modes with binaural output using external files modes_with_bin_out="FOA HOA2 HOA3 PlanarFOA PlanarHOA2 PlanarHOA3 MASA MC ISM1 ISM2 ISM3 ISM4" bin_out_modes="BINAURAL BINAURAL_ROOM_IR" modes_with_bin_out=$(echo "$modes_with_bin_out" | tr '\n' ' ') bin_out_modes=$(echo "$bin_out_modes" | tr '\n' ' ') echo "\n======================= 6. binaural out with HRTF files - WB =======================\n\n" wb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _wb_) # trim the \n characters so it works with eval wb_modes=$(echo "$wb_modes" | tr '\n' ' ') hrtf_wb="../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_16kHz.bin" eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg -m $wb_modes $duration_arg $WORKERS -D="-hrtf ${hrtf_wb}" --decoder_only --oc $bin_out_modes | tee -a smoke_test_output_hrtf.txt" "$PARALLEL" echo "\n======================= 7. binaural out with HRTF files - SWB =======================\n\n" swb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _swb_) # trim the \n characters so it works with eval swb_modes=$(echo "$swb_modes" | tr '\n' ' ') hrtf_swb="../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_32kHz.bin" eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg -m $swb_modes $duration_arg $WORKERS -D="-hrtf ${hrtf_swb}" --decoder_only --oc $bin_out_modes | tee -a smoke_test_output_hrtf.txt" "$PARALLEL" echo "\n======================= 8. binaural out with HRTF files - FB =======================\n\n" fb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _fb_) # trim the \n characters so it works with eval fb_modes=$(echo "$fb_modes" | tr '\n' ' ') hrtf_fb="../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_48kHz.bin" eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg -m $fb_modes $duration_arg $WORKERS -D="-hrtf ${hrtf_fb}" --decoder_only --oc $bin_out_modes | tee -a smoke_test_output_hrtf.txt" "$PARALLEL"