pysptk.conversion.sp2mc

pysptk.conversion.sp2mc(powerspec, order, alpha)

Convert spectrum envelope to mel-cepstrum

This is a simplified implementation of mcep for input type is 4.

Parameters:

powerspec : array

Power spectrum

order : int

Order of mel-cepstrum

alpha : float

All-pass constant.

Returns:

mc : array, shape(order+1)

mel-cepstrum