class_docstr: Encode audio with a supported file encoding.
  
  Args:
      opts: The global options.
class_docstr_tok: ["Encode","audio","with","a","supported","file","encoding",".","Args",":","opts",":","The","global","options","."]
code: def add_arguments(
      cls, parser: argparse.ArgumentParser
  ) -> argparse.ArgumentParser:
      group = parser.add_argument_group(title=cls.__name__)
      group.add_argument(
          "--audio-augmentation.torchaudio-save.enable",
          action="store_true",
          help="Use {}. This flag is useful when you want to study the effect of different "
          "transforms.".format(cls.__name__),
      )
      group.add_argument(
          "--audio-augmentation.torchaudio-save.encoding-dtype",
          choices=("float32", "int32", "int16", "uint8"),
          help="The data type used in the audio encoding. Defaults to float32.",
          default="float32",
      )
      group.add_argument(
          "--audio-augmentation.torchaudio-save.format",
          choices=("wav", "mp3"),
          default="wav",
          help="The format in which to save the audio. Defaults to wav.",
      )
      return parser
  
file_path: ml-cvnets/data/transforms/audio_bytes.py
imports: import argparse
  import io
  import tempfile
  from typing import Dict, Union
  import numpy
  import torch
  import torchaudio
  from data.transforms import TRANSFORMATIONS_REGISTRY, BaseTransformation
label_desc: Use image node_id 4 for calling the TorchaudioSave obj's underlying member method code with example usage: obj.add_arguments(cls, parser) and returns: parser