pysptk.sptk.mcep(windowed, order=25, alpha=0.35, miniter=2, maxiter=30, threshold=0.001, etype=0, eps=0.0, min_det=1e-06, itype=0)[source]

Mel-cepstrum analysis

windowedarray, shape (frame_len)

A windowed frame

orderint, optional

Order of mel-cepstrum. Default is 25.

alphafloat, optional

All pass constant. Default is 0.35.

miniterint, optional

Minimum number of iteration. Default is 2.

maxiterint, optional

Maximum number of iteration. Default is 30.

thresholdfloat, optional

Threshold in theq. Default is 0.001.

etypeint, optional
Type of parameter eps
  1. not used

  2. initial value of log-periodogram

  3. floor of periodogram in db

Default is 0.

epsfloat, optional

Initial value for log-periodogram or floor of periodogram in db. Default is 0.0.

min_detfloat, optional

Mimimum value of the determinant of normal matrix. Default is 1.0e-6

itypefloat, optional
Input data type
  1. windowed signal

  2. log amplitude in db

  3. log amplitude

  4. amplitude

  5. periodogram

Default is 0.

mcarray, shape (order + 1)


  • if invalid itype is specified

  • if invalid etype is specified

  • if nonzero eps is specified when etype = 0

  • if negative eps is specified

  • if negative min_det is specified

  • if zero(s) are found in periodogram

  • if error happened in theq