code: def info(
      filepath: str, format: Optional[str] = None
  ) -> AudioMetaData:
      """Get signal information of an audio file.
  
      Note:
          ``filepath`` argument is intentionally annotated as ``str`` only, even though it accepts
          ``pathlib.Path`` object as well. This is for the consistency with ``"sox_io"`` backend,
          which has a restriction on type annotation due to TorchScript compiler compatiblity.
  
      Args:
          filepath (path-like object or file-like object):
              Source of audio data.
          format (str or None, optional):
              Not used. PySoundFile does not accept format hint.
  
      Returns:
          AudioMetaData: meta data of the given audio.
  
      """
      sinfo = soundfile.info(filepath)
      return AudioMetaData(
          sinfo.samplerate,
          sinfo.frames,
          sinfo.channels,
          bits_per_sample=_get_bit_depth(sinfo.subtype),
          encoding=_get_encoding(sinfo.format, sinfo.subtype),
      )
  
file_path: audio/src/torchaudio/_backend/soundfile_backend.py
imports: import warnings
  from typing import Optional, Tuple
  import torch
  from torchaudio._internal import module_utils
  from .common import AudioMetaData
label_desc: Use image node_id 3 for calling a global function with example usage: info(filepath, format) and returns: AudioMetaData