code: def get_args():
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          description="Compute speaker level pitch statistics.",
      )
      parser.add_argument(
          "--input_manifest",
          required=True,
          type=Path,
          help="Path to input training manifest.",
      )
      parser.add_argument(
          "--input_audio_dir",
          required=True,
          type=Path,
          help="Path to base directory with audio files.",
      )
      parser.add_argument(
          "--output_manifest",
          required=True,
          type=Path,
          help="Path to output training manifest with processed audio.",
      )
      parser.add_argument(
          "--output_audio_dir",
          required=True,
          type=Path,
          help="Path to output directory for audio files.",
      )
      parser.add_argument(
          "--overwrite_audio",
          action=argparse.BooleanOptionalAction,
          help="Whether to reprocess and overwrite existing audio files in output_audio_dir.",
      )
      parser.add_argument(
          "--overwrite_manifest",
          action=argparse.BooleanOptionalAction,
          help="Whether to overwrite the output manifest file if it exists.",
      )
      parser.add_argument(
          "--num_workers",
          default=1,
          type=int,
          help="Number of parallel threads to use. If -1 all CPUs are used.",
      )
      parser.add_argument(
          "--trim_config_path",
          required=False,
          type=Path,
          help="Path to config file for nemo.collections.tts.data.audio_trimming.AudioTrimmer",
      )
      parser.add_argument(
          "--max_entries",
          default=0,
          type=int,
          help="If provided, maximum number of entries in the manifest to process.",
      )
      parser.add_argument(
          "--output_sample_rate",
          default=0,
          type=int,
          help="If provided, rate to resample the audio to.",
      )
      parser.add_argument(
          "--output_format",
          default="wav",
          type=str,
          help="If provided, format output audio will be saved as. If not provided, will keep original format.",
      )
      parser.add_argument(
          "--volume_level",
          default=0.0,
          type=float,
          help="If provided, peak volume to normalize audio to.",
      )
      parser.add_argument(
          "--min_duration",
          default=0.0,
          type=float,
          help="If provided, filter out utterances shorter than min_duration.",
      )
      parser.add_argument(
          "--max_duration",
          default=0.0,
          type=float,
          help="If provided, filter out utterances longer than max_duration.",
      )
      parser.add_argument(
          "--filter_file",
          required=False,
          type=Path,
          help="If provided, output filter_file will contain list of "
          "utterances filtered out.",
      )
      args = parser.parse_args()
      return args
  
file_path: NeMo/scripts/dataset_processing/tts/preprocess_audio.py
imports: import argparse
  import os
  from pathlib import Path
  from typing import Tuple
  import librosa
  import soundfile
  from hydra.utils import instantiate
  from joblib import Parallel, delayed
  from omegaconf import OmegaConf
  from tqdm import tqdm
  from nemo.collections.asr.parts.utils.manifest_utils import read_manifest, write_manifest
  from nemo.collections.tts.parts.preprocessing.audio_trimming import AudioTrimmer
  from nemo.collections.tts.parts.utils.tts_dataset_utils import get_abs_rel_paths, normalize_volume
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args