code: def info(
      filepath: str,
      format: Optional[str] = None,
  ) -> AudioMetaData:
      """Get signal information of an audio file.
  
      Args:
          filepath (str):
              Source of audio data.
  
          format (str or None, optional):
              Override the format detection with the given format.
              Providing the argument might help when libsox can not infer the format
              from header or extension.
  
      Returns:
          AudioMetaData: Metadata of the given audio.
      """
      if not torch.jit.is_scripting():
          if hasattr(filepath, "read"):
              raise RuntimeError(
                  "sox_io backend does not support file-like object."
              )
          filepath = os.fspath(filepath)
      sinfo = sox_ext.get_info(filepath, format)
      return AudioMetaData(*sinfo)
  
file_path: audio/src/torchaudio/backend/_sox_io_backend.py
imports: import os
  from typing import Optional, Tuple
  import torch
  import torchaudio
  from torchaudio import AudioMetaData
label_desc: Use image node_id 1 for calling a global function with example usage: info(filepath, format) and returns: AudioMetaData