class_docstr: :param int sampling_rate: Sampling rate of input audio.
  :param float duration: Max shifting segment (in second)
  :param str direction: Shifting segment to left, right or one of them. Value can be 'left', 'right' or 'random'
  :param str name: Name of this augmenter
  
  >>> import nlpaug.augmenter.audio as naa
  >>> aug = naa.ShiftAug(sampling_rate=44010)
code: def __init__(
      self,
      sampling_rate,
      duration=3,
      direction="random",
      shift_direction="random",
      name="Shift_Aug",
      verbose=0,
      stateless=True,
  ):
      super().__init__(
          action=Action.SUBSTITUTE,
          name=name,
          duration=duration,
          device="cpu",
          verbose=verbose,
          stateless=stateless,
      )
  
      self.sampling_rate = sampling_rate
      self.direction = direction
      self.shift_direction = shift_direction
      self.model = nma.Shift()
  
      self.model.validate(shift_direction)
  
file_path: nlpaug/nlpaug/augmenter/audio/shift.py
imports: from nlpaug.augmenter.audio import AudioAugmenter
  import nlpaug.model.audio
  from nlpaug.util import Action, WarningMessage
label_desc: Use image node_id 1 to create a new ShiftAug object from inherited base classes: AudioAugmenter with example: obj = ShiftAug(sampling_rate, duration, direction, shift_direction, name, verbose, stateless)