class_docstr: Make a randomly chosen part of the audio silent.
  Inspired by https://arxiv.org/pdf/1904.08779.pdf
code: def apply(self, samples: NDArray[np.float32], sample_rate: int):
      new_samples = samples.copy()
      t = self.parameters["t"]
      t0 = self.parameters["t0"]
      mask = np.zeros(t)
      if self.fade:
          fade_length = min(int(sample_rate * 0.01), int(t * 0.1))
          mask[0:fade_length] = np.linspace(1, 0, num=fade_length)
          mask[-fade_length:] = np.linspace(0, 1, num=fade_length)
      new_samples[..., t0 : t0 + t] *= mask
      return new_samples
  
file_path: audiomentations/audiomentations/augmentations/time_mask.py
imports: import random
  import numpy
  from numpy.typing import NDArray
  from audiomentations.core.transforms_interface import BaseWaveformTransform
label_desc: Use image node_id 3 for calling the TimeMask obj's underlying member method code with example usage: obj.apply(samples, sample_rate) and returns: new_samples