Description Usage Arguments Details Value Author(s) Examples

Predict autoregressive filter coefficients.

1 2 |

`sound` |
Either a numeric vector representing a sequence of samples taken from a sound wave or a sound object created with the loadsound() or makesound() functions. |

`order` |
The number of LPC coefficients to be estimated. By default there is 2 per kHz below the Nyquist frequency plus 3 extra coefficients. |

`fs` |
The sampling frequency in Hz. If a sound object is passed this does not need to be specificed. |

`show` |
If TRUE, the frequency response of the estimated filter is plotted. |

`add` |
If TRUE, the frequency response plot is added to an existing plot. |

`preemph` |
If TRUE, preemphasis of 3 dB per octave is applied to the sound before analysis. |

LPC coefficients are estimated using the autocorrelation method. The signal is windowed with a Hanning window prior to analysis.

A vector containing the LPC coefficients is returned.

Santiago Barreda <sbarreda@ucdavis.edu>

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.