class_docstr: Shift the samples forwards or backwards, with or without rollover
code: def randomize_parameters(
      self, samples: NDArray[np.float32], sample_rate: int
  ):
      super().randomize_parameters(samples, sample_rate)
      if self.parameters["should_apply"]:
          if self.shift_unit == "samples":
              self.parameters["shift_amount"] = random.randint(
                  self.min_shift, self.max_shift
              )
          else:
              self.parameters["shift_amount"] = random.uniform(
                  self.min_shift, self.max_shift
              )
  
file_path: audiomentations/audiomentations/augmentations/shift.py
imports: import random
  from typing import Union
  import numpy
  from numpy.typing import NDArray
  from audiomentations.core.transforms_interface import BaseWaveformTransform
  from audiomentations.core.utils import get_crossfade_mask_pair
label_desc: Use image node_id 2 for calling the Shift obj's underlying member method code with example usage: obj.randomize_parameters(samples, sample_rate) without return types