class_docstr: *MUSAN* :cite:`musan2015` dataset.
  
  Args:
      root (str or Path): Root directory where the dataset's top-level directory exists.
      subset (str): Subset of the dataset to use. Options: [``"music"``, ``"noise"``, ``"speech"``].
code: def __init__(self, root: Union[str, Path], subset: str):
      if subset not in _SUBSETS:
          raise ValueError(
              f"Invalid subset '{subset}' given. Please provide one of {_SUBSETS}"
          )
  
      subset_path = Path(root) / subset
      self._walker = [str(p) for p in subset_path.glob("*/*.*")]
  
file_path: audio/src/torchaudio/prototype/datasets/musan.py
imports: from pathlib import Path
  from typing import Tuple, Union
  import torch
  from torch.utils.data import Dataset
  from torchaudio.datasets.utils import _load_waveform
label_desc: Use image node_id 1 to create a new Musan object from inherited base classes: Dataset with example: obj = Musan(root, subset)