code: def handle_args():
      parser = argparse.ArgumentParser(
          description="Tool for playing (and augmenting) single samples or samples from Sample Databases (SDB files) "
          "and DeepSpeech CSV files"
      )
      parser.add_argument(
          "source",
          help="Sample DB, CSV or WAV file to play samples from",
      )
      parser.add_argument(
          "--start",
          type=int,
          default=0,
          help="Sample index to start at (negative numbers are relative to the end of the collection)",
      )
      parser.add_argument(
          "--number",
          type=int,
          default=-1,
          help="Number of samples to play (-1 for endless)",
      )
      parser.add_argument(
          "--random",
          action="store_true",
          help="If samples should be played in random order",
      )
      parser.add_argument(
          "--augment",
          action="append",
          help="Add an augmentation operation",
      )
      parser.add_argument(
          "--clock",
          type=float,
          default=0.5,
          help="Simulates clock value used for augmentations during training."
          "Ranges from 0.0 (representing parameter start values) to"
          "1.0 (representing parameter end values)",
      )
      parser.add_argument(
          "--pipe",
          action="store_true",
          help="Pipe first sample as wav file to stdout. Forces --number to 1.",
      )
      parser.add_argument(
          "--quiet",
          action="store_true",
          help="No info logging to console",
      )
      return parser.parse_args()
  
file_path: DeepSpeech/bin/play.py
imports: import os
  import sys
  import random
  import argparse
  from deepspeech_training.util.audio import get_loadable_audio_type_from_extension, AUDIO_TYPE_PCM, AUDIO_TYPE_WAV
  from deepspeech_training.util.sample_collections import SampleList, LabeledSample, samples_from_source
  from deepspeech_training.util.augmentations import parse_augmentations, apply_sample_augmentations, SampleAugmentation
label_desc: Use image node_id 3 for calling a global function with example usage: handle_args() and returns: parser