Commit 29b1004e authored by Anika Treffehn's avatar Anika Treffehn
Browse files

added binaural room ir and reverb as output formats

parent 3d27e237
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,
    },
}