Commit e898d309 authored by Anika Treffehn's avatar Anika Treffehn
Browse files

Merge branch 'small_HRIR_fix' into 'main'

small HRIR fix

See merge request !3
parents d3d4ab60 919084d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −1
Original line number Diff line number Diff line
@@ -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