From 919084d83083348116bb16454471f21bf51cf9b0 Mon Sep 17 00:00:00 2001 From: Treffehn Date: Tue, 11 Apr 2023 18:33:22 +0200 Subject: [PATCH] small HRIR fix --- README.md | 2 +- examples/TEMPLATE.yml | 2 +- .../audiotools/binaural_datasets/binaural_dataset.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4669de76..3449c860 100755 --- a/README.md +++ b/README.md @@ -376,7 +376,7 @@ postprocessing: ### default = null (uses postprocessing fmt if possible) # loudness_fmt: null ### Name of custom binaural dataset (without prefix or suffix); - ### default = null (ORANGE53_Dolby for BINAURAL, IISofficialMPEG222UC for BINAURAL_ROOM) + ### default = null (ORANGE53(_Dolby) for BINAURAL, IISofficialMPEG222UC for BINAURAL_ROOM) # bin_dataset: SADIE ### Render LFE to binaural output with the specified gain (only valid for channel-based input); default = null # bin_lfe_gain: 1 diff --git a/examples/TEMPLATE.yml b/examples/TEMPLATE.yml index 030bd437..c63114e3 100755 --- a/examples/TEMPLATE.yml +++ b/examples/TEMPLATE.yml @@ -234,7 +234,7 @@ postprocessing: ### default = null (uses postprocessing fmt if possible) # loudness_fmt: null ### Name of custom binaural dataset (without prefix or suffix); - ### default = null (ORANGE53_Dolby for BINAURAL, IISofficialMPEG222UC for BINAURAL_ROOM) + ### default = null (ORANGE53(_Dolby) for BINAURAL, IISofficialMPEG222UC for BINAURAL_ROOM) # bin_dataset: SADIE ### Render LFE to binaural output with the specified gain (only valid for channel-based input); default = null # bin_lfe_gain: 1 diff --git a/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py b/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py index 76f44f30..7062dfb3 100755 --- a/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py +++ b/ivas_processing_scripts/audiotools/binaural_datasets/binaural_dataset.py @@ -129,7 +129,7 @@ def load_ir( elif out_fmt.startswith("BINAURAL"): dataset_prefix = "HRIR" if dataset is None: - dataset = "ORANGE53_Dolby" + dataset = "ORANGE53" if in_fmt in OBJECT_BASED_AUDIO_FORMATS.keys() or in_fmt.startswith( "CUSTOM_LS" @@ -138,6 +138,7 @@ def load_ir( elif in_fmt in CHANNEL_BASED_AUDIO_FORMATS.keys() and in_fmt != "MONO": dataset_suffix = "LS" elif in_fmt in SCENE_BASED_AUDIO_FORMATS.keys(): + dataset = "ORANGE53_Dolby" if in_fmt == "SBA1" or in_fmt == "FOA": dataset_suffix = "SBA1" # Use truncated SBA3 dataset if no SBA1 or 2 dataset exists -- GitLab