pysptk.sptk.mgc2mgc¶
- pysptk.sptk.mgc2mgc(src_ceps, src_alpha=0.0, src_gamma=0.0, dst_order=None, dst_alpha=0.0, dst_gamma=0.0)[source]¶
Mel-generalized cepstrum transform
- Parameters
- src_cepsarray
Mel-generalized cepstrum.
- src_alphafloat, optional
All-pass constant of source cesptrum. Default is 0.0.
- src_gammafloat, optional
Gamma of source cepstrum. Default is 0.0.
- dst_orderint, optional
Order of destination cepstrum. Default is
len(src_ceps) - 1
.- dst_alphafloat, optional
All-pass constant of destination cesptrum. Default is 0.0.
- dst_gammafloat, optional
Gamma of destination cepstrum. Default is 0.0.
- Returns
- dst_cepsarray, shape (
dst_order + 1
) Converted mel-generalized cepstrum
- dst_cepsarray, shape (
- Raises
- ValueError
if invalid
src_gamma
is specifiedif invalid
dst_gamma
is specified