diff --git a/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py b/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py index 37008adf2ef98a5a1147760c7d9be7d3337c3d80..c51566eed2f6a33d240bd43149664062bf8fea6f 100755 --- a/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py +++ b/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py @@ -118,6 +118,10 @@ def load_ir( dataset_suffix = None if out_fmt.startswith("BINAURAL") and "ROOM" in out_fmt: + + if "_IR" in out_fmt or "_REVERB" in out_fmt: + warn("For reference rendering _IR and _REVERB extensions of BINAURAL_ROOM are ignored") + dataset_prefix = "BRIR" if dataset is None: dataset = "IISofficialMPEG222UC" diff --git a/ivas_processing_scripts/audiotools/constants.py b/ivas_processing_scripts/audiotools/constants.py index a77dcce756a856a44838aadd709b47628b83a947..1157a8fbb6d75951992a8c8475891ffbe71a4e99 100755 --- a/ivas_processing_scripts/audiotools/constants.py +++ b/ivas_processing_scripts/audiotools/constants.py @@ -36,7 +36,13 @@ BINAURAL_AUDIO_FORMATS = { "BINAURAL": { "num_channels": 2, }, - "BINAURAL_ROOM": { + "BINAURAL_ROOM": { # for reference rendering + "num_channels": 2, + }, + "BINAURAL_ROOM_IR": { # for IVAS_dec and IVAS_rend + "num_channels": 2, + }, + "BINAURAL_ROOM_REVERB": { # for IVAS_dec and IVAS_rend "num_channels": 2, }, }