Learn R Programming

tuneR (version 0.4-2)

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))

Arguments

a
Matrix of LPC coefficients.
nout
Number of cepstra to produce.

Value

  • Matrix of cepstra (one column per time frame).

concept

  • lpc
  • cepstra
  • conversion

References

Daniel P. W. Ellis: http://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, testsound@samp.rate)
  aspectrum <- audspec(pspectrum, testsound@samp.rate)
  lpcas <- dolpc(aspectrum$aspectrum, 8)
  cepstra <- lpc2cep(lpcas)

Run the code above in your browser using DataLab