pysptk.sptk.mgc2sp

pysptk.sptk.mgc2sp(ceps, alpha=0.0, gamma=0.0, fftlen=256)

Mel-generalized cepstrum transform

Parameters:

ceps : array

Mel-generalized cepstrum.

alpha : float, optional

All-pass constant. Default is 0.0.

gamma : float, optional

Gamma. Default is 0.0.

fftlen : int, optional

FFT length. Default is 256.

Returns:

sp : array, shape (fftlen // 2 + 1)

Complex spectrum

Raises:

ValueError

  • if invalid gamma is specified
  • if non power of 2 fftlen is specified