class_docstr: *LibriTTS* :cite:`Zen2019LibriTTSAC` dataset.
  
  Args:
      root (str or Path): Path to the directory where the dataset is found or downloaded.
      url (str, optional): The URL to download the dataset from,
          or the type of the dataset to dowload.
          Allowed type values are ``"dev-clean"``, ``"dev-other"``, ``"test-clean"``,
          ``"test-other"``, ``"train-clean-100"``, ``"train-clean-360"`` and
          ``"train-other-500"``. (default: ``"train-clean-100"``)
      folder_in_archive (str, optional):
          The top-level directory of the dataset. (default: ``"LibriTTS"``)
      download (bool, optional):
          Whether to download the dataset if it is not found at root path. (default: ``False``).
docstr: Load the n-th sample from the dataset.
  
  Args:
      n (int): The index of the sample to be loaded
  
  Returns:
      Tuple of the following items;
  
      Tensor:
          Waveform
      int:
          Sample rate
      str:
          Original text
      str:
          Normalized text
      int:
          Speaker ID
      int:
          Chapter ID
      str:
          Utterance ID
docstr_tok: ["Load","the","n-th","sample","from","the","dataset",".","Args",":","n","(","int",")",":","The","index","of","the","sample","to","be","loaded","Returns",":","Tuple","of","the","following","items",";","Tensor",":","Waveform","int",":","Sample","rate","str",":","Original","text","str",":","Normalized","text","int",":","Speaker","ID","int",":","Chapter","ID","str",":","Utterance","ID"]
code: def __getitem__(
      self, n: int
  ) -> Tuple[Tensor, int, str, str, int, int, str]:
      """Load the n-th sample from the dataset.
  
      Args:
          n (int): The index of the sample to be loaded
  
      Returns:
          Tuple of the following items;
  
          Tensor:
              Waveform
          int:
              Sample rate
          str:
              Original text
          str:
              Normalized text
          int:
              Speaker ID
          int:
              Chapter ID
          str:
              Utterance ID
      """
      fileid = self._walker[n]
      return load_libritts_item(
          fileid,
          self._path,
          self._ext_audio,
          self._ext_original_txt,
          self._ext_normalized_txt,
      )
  
file_path: audio/src/torchaudio/datasets/libritts.py
imports: import os
  from pathlib import Path
  from typing import Tuple, Union
  import torchaudio
  from torch import Tensor
  from torch.utils.data import Dataset
  from torchaudio._internal import download_url_to_file
  from torchaudio.datasets.utils import _extract_tar
label_desc: Use image node_id 2 for calling the LIBRITTS obj's underlying member method code with example usage: obj.__getitem__(n) and returns: load_libritts_item