docs: def _wcut(l, windowsize, stepsize):
      """
      Parameters
          l - The length of the input array
          windowsize - the size of each window of samples
          stepsize - the number of samples to move the window each step
  
      Returns
          The length the input array should be so that leftover samples are ignored
      """
      end = l - windowsize
      if l <= windowsize:
          return 0, 0
      elif end % stepsize:
          l = windowsize + ((end // stepsize) * stepsize)
  
      return l, l - (windowsize - stepsize)