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

fixed ISM bug

parent fbf210a8
Loading
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -364,12 +364,15 @@ def process_item(
            out_dir_wav = True
        else:
            processing_paths.append(tmp_file.with_suffix(f".{p.name}{tmp_file.suffix}"))
            try:
            try:  # TODO: clean up try except blocks
                out_format = p.out_fmt
            except AttributeError:
                # EVS has no attribute out_fmt
                out_format = p.in_fmt
            try:
                if p.name == "pre_2":
                    bool_ism = p.in_fmt.startswith("ISM")
                else:
                    bool_ism = out_format.startswith("ISM")
            except Exception:
                bool_ism = out_format.name.startswith("ISM")
+5 −3
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ conditions_to_generate:
      # out_fc: 22500
  c02:
      ### REQUIRED: type of condition
      type: lp3k5
      type: lp7k
  c03:
      ### REQUIRED: type of condition
      type: mnru
@@ -209,8 +209,10 @@ conditions_to_generate:
          ### Additional commandline options; default = null
          # opts: ["-q", "-no_delay_cmp"]
      ### Bitstream options
      # tx:
      tx:
          ### For possible arguments see overall bitstream modification
          type: "FER"
          error_rate: 3

  ### IVAS condition ###############################
  c07:
@@ -277,7 +279,7 @@ postprocessing:
    ### REQUIRED: Target sampling rate in Hz for resampling
    fs: 48000
    ### Low-pass cut-off frequency in Hz; default = null (no filtering)
    lp_cutoff: 24000
    lp_cutoff: 10000
    ### Target loudness in LKFS; default = null (no loudness change applied)
    loudness: -26
    ### Spatial audio format in which loudness is adjusted (only used if preprocessing loudness is not null);