pysptk.sptk.lpc

pysptk.sptk.lpc(windowed, order=25, min_det=1e-06)

Linear prediction analysis

Parameters:

windowed : array, shape (frame_len)

A windowed frame

order : int, optional

Order of LPC. Default is 25.

min_det : float, optional

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

Returns:

a : array, shape (order + 1)

LPC

Raises:

ValueError

  • if negative min_det is specified

RuntimeError

  • if error happened in levdur