Learn R Programming

tuneR (version 1.4.7)

lpc2cep: LPC to cepstra conversion

Description

Convert the LPC coefficients in each column of a into frames of cepstra.

Usage

lpc2cep(a, nout = nrow(a))

Value

Matrix of cepstra (one column per time frame).

Arguments

a

Matrix of LPC coefficients.

nout

Number of cepstra to produce.

Author

Sebastian Krey [email protected]

References

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

See Also

spec2cep

Examples

Run this code
  testsound <- normalize(sine(400) + sine(1000) + square(250), "16")
  pspectrum <- powspec(testsound@left, [email protected])
  aspectrum <- audspec(pspectrum, [email protected])
  lpcas <- dolpc(aspectrum$aspectrum, 8)
  cepstra <- lpc2cep(lpcas)

Run the code above in your browser using DataLab