Commit 07626119 authored by norvell's avatar norvell
Browse files

Fixes for test_enc_passthrough.py - 2

parent 715b72a3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)