pysptk.sptk.c2ndps

pysptk.sptk.c2ndps(c, fftlen=256)[source]

Cepstrum to Negative Derivative of Phase Spectrum (NDPS)

Parameters
carray

Cepstrum

fftlenint, optional

FFT length. Default is 256.

Returns
ndpsarray, shape (fftlen // 2 + 1)

NDPS

Raises
ValueError

if non power of 2 fftlen is specified