pysptk.sptk.lpc¶
- pysptk.sptk.lpc(windowed, order=25, min_det=1e-06, use_scipy=True)[source]¶
Linear prediction analysis
- Parameters
- windowedarray, shape (
frame_len
) A windowed frame
- orderint, optional
Order of LPC. Default is 25.
- min_detfloat, optional
Mimimum value of the determinant of normal matrix. Default is 1.0e-6.
- use_scipybool
Use scipy’s solve_toeplitz implementation or not. Default is True. This would be more numerically stable than SPTK.
- windowedarray, shape (
- Returns
- aarray, shape (
order + 1
) LPC
- aarray, shape (
- Raises
- ValueError
if negative
min_det
is specified
- RuntimeError
if error happened in levdur