Loading tests/test_enc_passthrough.py +3 −3 Original line number Diff line number Diff line Loading @@ -154,12 +154,12 @@ out_fmt = "EXT" in_file = ["stvOSBA_{obj}ISM_FOA{bw}c.wav","stvOSBA_{obj}ISM_2OA{bw}c.wav","stvOSBA_{obj}ISM_3OA{bw}c.wav"] for br in [13200, 16400, 24400, 32000, 48000, 64000, 80000, 96000, 128000, 160000, 192000, 256000, 384000, 512000]: for bw in [16, 32, 48]: #for order in range(3): for order in [2]: # Currently only HOA3 output supported #for order in range(1, NUMBER_OF_SBA_ORDERS + 1): for order in [3]: # Currently only HOA3 output supported for obj in range(1, NUMBER_OF_OBJECTS + 1): meta = " ".join([f"testv/stvISM{o}.csv" for o in range(1, obj + 1)]) tag = f"{fmt.format(obj=obj, order=order)}-{br}-{bw}" enc_opts = f"{in_fmt.format(obj=obj,order=order)} {meta} {br} {bw} testv/{in_file[order].format(obj=obj, bw=bw)} bit" enc_opts = f"{in_fmt.format(obj=obj,order=order)} {meta} {br} {bw} testv/{in_file[order-1].format(obj=obj, bw=bw)} bit" dec_opts = f"{out_fmt} {bw} bit out.wav" test_dict[tag] = (enc_opts, dec_opts, sim_opts, eid_opts) Loading Loading
tests/test_enc_passthrough.py +3 −3 Original line number Diff line number Diff line Loading @@ -154,12 +154,12 @@ out_fmt = "EXT" in_file = ["stvOSBA_{obj}ISM_FOA{bw}c.wav","stvOSBA_{obj}ISM_2OA{bw}c.wav","stvOSBA_{obj}ISM_3OA{bw}c.wav"] for br in [13200, 16400, 24400, 32000, 48000, 64000, 80000, 96000, 128000, 160000, 192000, 256000, 384000, 512000]: for bw in [16, 32, 48]: #for order in range(3): for order in [2]: # Currently only HOA3 output supported #for order in range(1, NUMBER_OF_SBA_ORDERS + 1): for order in [3]: # Currently only HOA3 output supported for obj in range(1, NUMBER_OF_OBJECTS + 1): meta = " ".join([f"testv/stvISM{o}.csv" for o in range(1, obj + 1)]) tag = f"{fmt.format(obj=obj, order=order)}-{br}-{bw}" enc_opts = f"{in_fmt.format(obj=obj,order=order)} {meta} {br} {bw} testv/{in_file[order].format(obj=obj, bw=bw)} bit" enc_opts = f"{in_fmt.format(obj=obj,order=order)} {meta} {br} {bw} testv/{in_file[order-1].format(obj=obj, bw=bw)} bit" dec_opts = f"{out_fmt} {bw} bit out.wav" test_dict[tag] = (enc_opts, dec_opts, sim_opts, eid_opts) Loading