docs: def trim_wav_sox(in_path: Path, out_path: Path,
                   start_time: int, end_time: int) -> None:
      """ Crops the wav file at in_fn so that the audio between start_time and
      end_time is output to out_fn. Measured in milliseconds.
      """
  
      if out_path.is_file():
          logger.info("Output path %s already exists, not trimming file", out_path)
          return
  
      start_time_secs = millisecs_to_secs(start_time)
      end_time_secs = millisecs_to_secs(end_time)
      args = [config.SOX_PATH, str(in_path), str(out_path),
              "trim", str(start_time_secs), "=" + str(end_time_secs)]
      logger.info("Cropping file %s, from start time %d (seconds) to end time %d (seconds), outputting to %s",
                  in_path, start_time_secs, end_time_secs, out_path)
      subprocess.run(args, check=True)