pysptk.sptk.hanning

pysptk.sptk.hanning(n, normalize=1)

Hanning window

Parameters:

n : int

Window length

normalize : int, optional

Normalization flag
  1. don’t normalize
  2. normalize by power
  3. normalize by magnitude

Default is 1.

Returns:

w : array, shape (n,)

hanning window