Commit 57a37ced authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch '28-masa-selection-test-experiments' into 'main'

Resolve "MASA selection test experiments"

See merge request !62
parents d701c031 f36b8ef6
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -81,7 +81,13 @@ experiments:
  script:
    - *print-common-info
    - *get-codec-binaries
    - python3 -m pytest -n auto tests/test_experiments.py
    - python3 -m pytest tests/test_experiments.py -n auto | tee log.txt
  artifacts:
    paths:
      - experiments/selection/*/proc_output/*.log
      - log.txt
    when: on_failure
    expire_in: 1 week

# run some test configs for item creation
test_processing:
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ The following additional executables are needed for the different processing ste
| Filtering, Resampling                           | filter                | https://www.3gpp.org/ftp/tsg_sa/WG4_CODEC/TSGS4_76/docs/S4-131277.zip                                       |
| Random offset/seed generation (necessary for background noise and FER bitstream processing)   | random                | https://www.3gpp.org/ftp/tsg_sa/WG4_CODEC/TSGS4_76/docs/S4-131277.zip                                       |
| JBM network simulator                           | networkSimulator_g192 | https://www.3gpp.org/ftp/tsg_sa/WG4_CODEC/TSGS4_76/docs/S4-131277.zip                                       |
| MASA rendering (also used in loudness measurement of MASA items)        | masaRenderer        | https://www.3gpp.org/ftp/TSG_SA/WG4_CODEC/TSGS4_122_Athens/Docs/S4-230221.zip         |
| MASA rendering (also used in loudness measurement of MASA items)        | masaRenderer, masaAnalyzer   | https://www.3gpp.org/ftp/TSG_SA/WG4_CODEC/TSGS4_122_Athens/Docs/S4-230221.zip         |
| EVS reference conditions        | EVS_cod, EVS_dec      | https://www.3gpp.org/ftp/Specs/archive/26_series/26.443/26443-h00.zip                                       |

The necessary binaries have to be either placed in the [ivas_processing_scripts/bin](./ivas_processing_scripts/bin) folder or the path has to be specified in 
+3 −1
Original line number Diff line number Diff line
@@ -287,7 +287,9 @@ conditions_to_generate:
### Post-processing step performed after core processing for all conditions
### Post-processing is required and can not be omitted
postprocessing:
    ### REQUIRED: Target format for output
    ### REQUIRED: Target format for output, this can be a string as below, or a list, e.g. ["FOA", "BINAURAL"].
    ###           Conversion will be applied in order and the last format is the final output forma. This was introduced to 
    ###           accomodate for the MASA tests where masaRenderer is used as binaural renderer for all conditions.
    fmt: "BINAURAL"
    ### REQUIRED: Target sampling rate in Hz for resampling
    fs: 48000
+0 −0

Empty file added.

+115 −0
Original line number Diff line number Diff line
---
################################################
# General configuration
################################################

name: BS1534-7a
master_seed: 5
prerun_seed: 2

input_path: "experiments/selection/BS1534-7a/proc_input"
output_path: "experiments/selection/BS1534-7a/proc_output"
use_windows_codec_binaries: true
condition_in_output_filename: true

################################################
### Input configuration
################################################
input:
    fmt: "FOA"
    fs: 48000

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

################################################
### Pre-processing on whole signal(s)
################################################
preprocessing_2:
    concatenate_input: true
    # concatenation_order: []
    preamble: 10000
    preamble_noise: true

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

################################################
### Configuration for conditions under test
################################################
conditions_to_generate:
    ### Reference and anchor conditions ##########################
    c01:
        type: ref
    c02:
        type: lp7k

    ### EVS condition ################################
    c03:
        type: evs
        bitrates:
            - 24400
        cod:
            opts: ["-max_band", "FB"]
        dec:
    c04:
        type: evs
        bitrates:
            - 24400
        cod:
            fmt: "MASA2"
            opts: ["-max_band", "FB"]
        dec:
    c05:
        type: evs
        bitrates:
            - 16400
        cod:
            opts: ["-max_band", "FB"]
        dec:
        tx:
            type: "FER"
            error_rate: 5

    ### IVAS condition ###############################
    c06:
        type: ivas
        bitrates:
            - 64000
        cod:
            fmt: "MASA2"
        dec:
            fmt: "MASA2"
    c07:
        type: ivas
        bitrates:
            - 80000
        cod:
            fmt: "MASA2"
        dec:
            fmt: "MASA2"
    c08:
        type: ivas
        bitrates:
            - 48000
        cod:
            fmt: "MASA2"
        dec:
            fmt: "MASA2"
        tx:
            type: "FER"
            error_rate: 5

################################################
### Post-processing
################################################
postprocessing:
    fmt: ["MASA2", "BINAURAL"]
    fs: 48000
    loudness: -26
Loading