dolpc: (Perceptive) Linear Prediction

Description Usage Arguments Value Author(s) References See Also Examples

Description

Compute autoregressive model from spectral magnitude samples via Levinson-Durbin recursion.

Usage

1
dolpc(x, modelorder = 8)

Arguments

x

Matrix of spectral magnitude samples (each sample/time frame in one column).

modelorder

Lag of the AR model.

Value

Returns a matrix of the normalized AR coefficients (depending on the input spectrum: LPC or PLP coefficients). Every column represents one time frame.

Author(s)

Sebastian Krey krey@statistik.tu-dortmund.de

References

Daniel P. W. Ellis: http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/

See Also

levinson

Examples

1
2
3
4
  testsound <- normalize(sine(400) + sine(1000) + square(250), "16")
  pspectrum <- powspec(testsound@left, testsound@samp.rate)
  aspectrum <- audspec(pspectrum, testsound@samp.rate)$aspectrum
  lpcas <- dolpc(aspectrum, 10)

tlevine/tuneR documentation built on May 31, 2019, 3:52 p.m.