elifin_fmtinCHANNEL_BASED_AUDIO_FORMATS.keys():##This is triggered when -if HOA3 is passed from the command line. dataset suffix is being set to LS, and "FULL" mode cannot be used - in_format being used is 7_1_4.
dataset_suffix="FULL"
elifout_fmt.startswith("BINAURAL"):
dataset_prefix="HRIR"
@@ -192,7 +195,9 @@ def load_ir(
in_fmt=fromtype(in_fmt)
tmp_fmt=fromtype("LS")
IR_tmp=IR.copy()
#IR_tmp = IR.copy() # Bug: deprecated function, no longer works
IR,_,latency_smp=load_ir(cba.name,bin.name,bin_dataset)##cba.name passed to this function is 7_1_4 -> this caused the renderer to attach suffix LS to the binaural dataset name in the next step
# render LFE
ifbin_lfe_gainisnotNone:
@@ -133,6 +133,7 @@ def render_cba_to_binaural(
cba.audio,cba.fs,cba.lfe_index,bin_lfe_gain
)
##The following two operations must be stateful for frame-wise, TCP enabled rendering