docs: def trim_wav_pydub(in_path: Path, out_path: Path,
                  start_time: int, end_time: int) -> None:
      """ Crops the wav file. """
  
      logger.info(
          "Using pydub/ffmpeg to create {} from {}".format(out_path, in_path) +
          " using a start_time of {} and an end_time of {}".format(start_time,
                                                                   end_time))
  
      if out_path.is_file():
          return
  
      # TODO add logging here
      #print("in_fn: {}".format(in_fn))
      #print("out_fn: {}".format(out_fn))
      in_ext = in_path.suffix[1:]
      out_ext = out_path.suffix[1:]
      audio = AudioSegment.from_file(str(in_path), in_ext)
      trimmed = audio[start_time:end_time]
      # pydub evidently doesn't actually use the parameters when outputting wavs,
      # since it doesn't use FFMPEG to deal with outputtting WAVs. This is a bit
      # of a leaky abstraction. No warning is given, so normalization to 16Khz
      # mono wavs has to happen later. Leaving the parameters here in case it
      # changes
      trimmed.export(str(out_path), format=out_ext,
                     parameters=["-ac", "1", "-ar", "16000"])