docs: def oggvorbis(s):
      """
      This is taken from the ogg vorbis spec
      (http://xiph.org/vorbis/doc/Vorbis_I_spec.html)
  
      :param s: the total length of the window, in samples
      """
      try:
          s = np.arange(s)
      except TypeError:
          s = np.arange(s[0])
  
      i = np.sin((s + .5) / len(s) * np.pi) ** 2
      f = np.sin(.5 * np.pi * i)
      return f * (1. / f.max())