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

Merge branch '71-new-brir-ir-and-reverb-arguments-have-to-be-used' into 'main'

Resolve "New BRIR IR and REVERB arguments have to be used"

See merge request !141
parents 2526b201 cb2e8c07
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"
+7 −1
Original line number Diff line number Diff line
@@ -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,
    },
}