dolpc | R Documentation |
Compute autoregressive model from spectral magnitude samples via Levinson-Durbin recursion.
dolpc(x, modelorder = 8)
x |
Matrix of spectral magnitude samples (each sample/time frame in one column). |
modelorder |
Lag of the AR model. |
Returns a matrix of the normalized AR coefficients (depending on the input spectrum: LPC or PLP coefficients). Every column represents one time frame.
Sebastian Krey krey@statistik.tu-dortmund.de
Daniel P. W. Ellis: https://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/
levinson
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.