pysptk.sptk.mgc2mgc¶
-
pysptk.sptk.
mgc2mgc
()¶ Mel-generalized cepstrum transform
Parameters: - src_ceps : array
Mel-generalized cepstrum.
- src_alpha : float
All-pass constant of source cesptrum. Default is 0.0.
- src_gamma : float
Gamma of source cepstrum. Default is 0.0.
- dst_order : int
Order of destination cepstrum. Default is len(src_ceps) - 1.
- dst_alpha : float
All-pass constant of destination cesptrum. Default is 0.0.
- dst_gamma : float
Gamma of destination cepstrum. Default is 0.0.
Returns: - dst_ceps : array, shape (dst_order + 1)
Converted mel-generalized cepstrum
Raises: - ValueError
- if invalid src_gamma is specified
- if invalid dst_gamma is specified