pysptk.sptk.mcep¶
-
pysptk.sptk.
mcep
()¶ Mel-cepstrum analysis
Parameters: - windowed : array, shape (frame_len)
A windowed frame
- order : int
Order of mel-cepstrum. Default is 25.
- alpha : float
All pass constant. Default is 0.35.
- miniter : int
Minimum number of iteration. Default is 2.
- maxiter : int
Maximum number of iteration. Default is 30.
- threshold : float
Threshold in theq. Default is 0.001.
- etype : int
- Type of parameter eps
- not used
- initial value of log-periodogram
- floor of periodogram in db
Default is 0.
- eps : float
Initial value for log-periodogram or floor of periodogram in db. Default is 0.0.
- min_det : float
Mimimum value of the determinant of normal matrix. Default is 1.0e-6
- itype : float
- Input data type:
- windowed signal
- log amplitude in db
- log amplitude
- amplitude
- periodogram
Default is 0.
Returns: - mc : array, shape (order + 1)
Mel-cepstrum
Raises: - ValueError
- 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
- RuntimeError
- if zero(s) are found in periodogram
- if error happened in theq