code: def get_augment_range_by_duration(self, data):
      zone_start, zone_end = int(len(data) * self.zone[0]), int(
          len(data) * self.zone[1]
      )
      zone_size = zone_end - zone_start
  
      target_size = int(self.sampling_rate * self.duration)
  
      if target_size >= zone_size:
          start_pos = zone_start
          end_pos = zone_end
      else:
          last_start = zone_start + zone_size - target_size
          start_pos = np.random.randint(zone_start, last_start)
          end_pos = start_pos + target_size
  
      return start_pos, end_pos
  
file_path: nlpaug/nlpaug/augmenter/audio/audio_augmenter.py
imports: import numpy
  from nlpaug.util import Method
  from nlpaug import Augmenter
label_desc: Use image node_id 7 for calling the AudioAugmenter obj's underlying member method code with example usage: obj.get_augment_range_by_duration(data) and returns: start_pos,  end_pos