Commit 9be2a1f8 authored by Jan Kiene's avatar Jan Kiene
Browse files

remove category-wise configs for P800 experiments

parent 1d7dd442
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -41,12 +41,13 @@ def create_experiment_setup(experiment, lab) -> list[Path]:
        cfg.prerun_seed = seed
        cfg.input_path = str(input_path)
        cfg.output_path = str(output_path)
        cfg.preprocessing_2["background_noise"]["background_noise_path"] = str(bg_noise_path)
        if (bg_noise_pre_proc_2 := cfg.preprocessing_2.get("background_noise", None)) is not None:
            bg_noise_pre_proc_2["background_noise_path"] = str(bg_noise_path)

            # bg noise SNR only differs from default config for some experiments
            cat_num = int(cat[-1])
            if experiment in ["P800-5", "P800-9"] and cat_num >= 3:
            cfg.preprocessing_2["background_noise"]["snr"] = 15
                bg_noise_pre_proc_2["snr"] = 15

        # for MASA, the input format can differ between categories
        if (fmt_for_category := IN_FMT_FOR_MASA_EXPS.get(experiment, None)) is not None:
+0 −289
Original line number Diff line number Diff line
---
################################################
# General configuration
################################################

name: P800-2
master_seed: 5
prerun_seed: 2

input_path: "experiments/selection/P800-2/proc_input/cat2"
output_path: "experiments/selection/P800-2/proc_output/cat2"
use_windows_codec_binaries: true
condition_in_output_filename: true

################################################
### Input configuration
################################################
input:
    fmt: "STEREO"
    # TODO: to be clarified in Test Plan
    fs: 48000

################################################
### Pre-processing on individual items
################################################
preprocessing:
    mask: "HP50"
    loudness: -26
    window: 100

################################################
### Pre-processing on whole signal(s)
################################################
preprocessing_2:
    concatenate_input: true
    # concatenation_order: []
    preamble: 10000
    preamble_noise: true
    ### Additive background noise
    background_noise:
        ### REQUIRED: SNR for background noise in dB
        snr: 15
        ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s)
        background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat2.wav"

#################################################
### Bitstream processing
#################################################

################################################
### Configuration for conditions under test
################################################
conditions_to_generate:
    ### Reference and anchor conditions ##########################
    c01:
        type: ref
    c02:
        type: mnru
        q: 32
    c03:
        type: mnru
        q: 27
    c04:
        type: mnru
        q: 22
    c05:
        type: mnru
        q: 17
    c06:
        type: mnru
        q: 12
    c07:
        type: esdru
        alpha: 0.7
    c08:
        type: esdru
        alpha: 0.5
    c09:
        type: esdru
        alpha: 0.3
    c10:
        type: esdru
        alpha: 0.1

    ### EVS condition ################################
    c11:
        type: evs
        bitrates:
            - 7200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c12:
        type: evs
        bitrates:
            - 8000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c13:
        type: evs
        bitrates:
            - 9600
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c14:
        type: evs
        bitrates:
            - 13200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c15:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c16:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c17:
        type: evs
        bitrates:
            - 32000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c18:
        type: evs
        bitrates:
            - 48000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c19:
        type: evs
        bitrates:
            - 7200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c20:
        type: evs
        bitrates:
            - 8000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c21:
        type: evs
        bitrates:
            - 9600
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c22:
        type: evs
        bitrates:
            - 13200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c23:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c24:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c25:
        type: evs
        bitrates:
            - 32000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:

    ### IVAS condition ###############################
    c26:
        type: ivas
        bitrates:
            - 13200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c27:
        type: ivas
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c28:
        type: ivas
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c29:
        type: ivas
        bitrates:
            - 32000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c30:
        type: ivas
        bitrates:
            - 48000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c31:
        type: ivas
        bitrates:
            - 64000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c32:
        type: ivas
        bitrates:
            - 13200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c33:
        type: ivas
        bitrates:
            - 16400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c34:
        type: ivas
        bitrates:
            - 24400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c35:
        type: ivas
        bitrates:
            - 32000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c36:
        type: ivas
        bitrates:
            - 48000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"


################################################
### Post-processing
################################################
postprocessing:
    fmt: "STEREO"
    fs: 48000
    loudness: -26
+0 −289
Original line number Diff line number Diff line
---
################################################
# General configuration
################################################

name: P800-2
master_seed: 5
prerun_seed: 2

input_path: "experiments/selection/P800-2/proc_input/cat3"
output_path: "experiments/selection/P800-2/proc_output/cat3"
use_windows_codec_binaries: true
condition_in_output_filename: true

################################################
### Input configuration
################################################
input:
    fmt: "STEREO"
    # TODO: to be clarified in Test Plan
    fs: 48000

################################################
### Pre-processing on individual items
################################################
preprocessing:
    mask: "HP50"
    loudness: -26
    window: 100

################################################
### Pre-processing on whole signal(s)
################################################
preprocessing_2:
    concatenate_input: true
    # concatenation_order: []
    preamble: 10000
    preamble_noise: true
    ### Additive background noise
    background_noise:
        ### REQUIRED: SNR for background noise in dB
        snr: 15
        ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s)
        background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat3.wav"

#################################################
### Bitstream processing
#################################################

################################################
### Configuration for conditions under test
################################################
conditions_to_generate:
    ### Reference and anchor conditions ##########################
    c01:
        type: ref
    c02:
        type: mnru
        q: 32
    c03:
        type: mnru
        q: 27
    c04:
        type: mnru
        q: 22
    c05:
        type: mnru
        q: 17
    c06:
        type: mnru
        q: 12
    c07:
        type: esdru
        alpha: 0.7
    c08:
        type: esdru
        alpha: 0.5
    c09:
        type: esdru
        alpha: 0.3
    c10:
        type: esdru
        alpha: 0.1

    ### EVS condition ################################
    c11:
        type: evs
        bitrates:
            - 7200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c12:
        type: evs
        bitrates:
            - 8000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c13:
        type: evs
        bitrates:
            - 9600
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c14:
        type: evs
        bitrates:
            - 13200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c15:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c16:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c17:
        type: evs
        bitrates:
            - 32000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c18:
        type: evs
        bitrates:
            - 48000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c19:
        type: evs
        bitrates:
            - 7200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c20:
        type: evs
        bitrates:
            - 8000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c21:
        type: evs
        bitrates:
            - 9600
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c22:
        type: evs
        bitrates:
            - 13200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c23:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c24:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c25:
        type: evs
        bitrates:
            - 32000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:

    ### IVAS condition ###############################
    c26:
        type: ivas
        bitrates:
            - 13200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c27:
        type: ivas
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c28:
        type: ivas
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c29:
        type: ivas
        bitrates:
            - 32000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c30:
        type: ivas
        bitrates:
            - 48000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c31:
        type: ivas
        bitrates:
            - 64000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c32:
        type: ivas
        bitrates:
            - 13200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c33:
        type: ivas
        bitrates:
            - 16400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c34:
        type: ivas
        bitrates:
            - 24400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c35:
        type: ivas
        bitrates:
            - 32000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c36:
        type: ivas
        bitrates:
            - 48000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"


################################################
### Post-processing
################################################
postprocessing:
    fmt: "STEREO"
    fs: 48000
    loudness: -26
+0 −289
Original line number Diff line number Diff line
---
################################################
# General configuration
################################################

name: P800-2
master_seed: 5
prerun_seed: 2

input_path: "experiments/selection/P800-2/proc_input/cat4"
output_path: "experiments/selection/P800-2/proc_output/cat4"
use_windows_codec_binaries: true
condition_in_output_filename: true

################################################
### Input configuration
################################################
input:
    fmt: "STEREO"
    # TODO: to be clarified in Test Plan
    fs: 48000

################################################
### Pre-processing on individual items
################################################
preprocessing:
    mask: "HP50"
    loudness: -26
    window: 100

################################################
### Pre-processing on whole signal(s)
################################################
preprocessing_2:
    concatenate_input: true
    # concatenation_order: []
    preamble: 10000
    preamble_noise: true
    ### Additive background noise
    background_noise:
        ### REQUIRED: SNR for background noise in dB
        snr: 15
        ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s)
        background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat4.wav"

#################################################
### Bitstream processing
#################################################

################################################
### Configuration for conditions under test
################################################
conditions_to_generate:
    ### Reference and anchor conditions ##########################
    c01:
        type: ref
    c02:
        type: mnru
        q: 32
    c03:
        type: mnru
        q: 27
    c04:
        type: mnru
        q: 22
    c05:
        type: mnru
        q: 17
    c06:
        type: mnru
        q: 12
    c07:
        type: esdru
        alpha: 0.7
    c08:
        type: esdru
        alpha: 0.5
    c09:
        type: esdru
        alpha: 0.3
    c10:
        type: esdru
        alpha: 0.1

    ### EVS condition ################################
    c11:
        type: evs
        bitrates:
            - 7200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c12:
        type: evs
        bitrates:
            - 8000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c13:
        type: evs
        bitrates:
            - 9600
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c14:
        type: evs
        bitrates:
            - 13200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c15:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c16:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c17:
        type: evs
        bitrates:
            - 32000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c18:
        type: evs
        bitrates:
            - 48000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
    c19:
        type: evs
        bitrates:
            - 7200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c20:
        type: evs
        bitrates:
            - 8000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c21:
        type: evs
        bitrates:
            - 9600
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c22:
        type: evs
        bitrates:
            - 13200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c23:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c24:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
    c25:
        type: evs
        bitrates:
            - 32000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:

    ### IVAS condition ###############################
    c26:
        type: ivas
        bitrates:
            - 13200
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c27:
        type: ivas
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c28:
        type: ivas
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c29:
        type: ivas
        bitrates:
            - 32000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c30:
        type: ivas
        bitrates:
            - 48000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c31:
        type: ivas
        bitrates:
            - 64000
        cod:
            opts: ["-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c32:
        type: ivas
        bitrates:
            - 13200
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c33:
        type: ivas
        bitrates:
            - 16400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c34:
        type: ivas
        bitrates:
            - 24400
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c35:
        type: ivas
        bitrates:
            - 32000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"
    c36:
        type: ivas
        bitrates:
            - 48000
        cod:
            opts: ["-dtx", "-max_band", "SWB"]
        dec:
            fmt: "STEREO"


################################################
### Post-processing
################################################
postprocessing:
    fmt: "STEREO"
    fs: 48000
    loudness: -26
+0 −289

File deleted.

Preview size limit exceeded, changes collapsed.

Loading