pysptk.sptk.gc2gc

pysptk.sptk.gc2gc(src_ceps, src_gamma=0.0, dst_order=None, dst_gamma=0.0)

Generalized cepstrum transform

Parameters:

src_ceps : array

Generalized cepstrum.

src_gamma : float, optional

Gamma of source cepstrum. Default is 0.0.

dst_order : int, optional

Order of destination cepstrum. Default is len(src_ceps) - 1.

dst_gamma : float, optional

Gamma of destination cepstrum. Default is 0.0.

Returns:

dst_ceps : array, shape (dst_order + 1)

Converted generalized cepstrum

Raises:

ValueError

  • if invalid src_gamma is specified
  • if invalid dst_gamma is specified