code: def __init__(self, p=0.5):
      assert 0 <= p <= 1
      self.p = p
      self.parameters = {"should_apply": None}
      self.are_parameters_frozen = False
  
imports: import random
  import warnings
  import numpy
  from numpy.typing import NDArray
  from audiomentations.core.utils import is_waveform_multichannel, is_spectrogram_multichannel
label_desc: Use image node_id 1 to create a new BaseTransform object  with example: obj = BaseTransform(p)