lpc2cep: LPC to cepstra conversion

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

Description

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

Usage

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

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

spec2cep

Examples

1
2
3
4
5
  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)

Example output

Warning message:
In normalize(sine(400) + sine(1000) + square(250), "16") :
  pcm set to TRUE since unit was one of 8, 16, or 24
There were 50 or more warnings (use warnings() to see the first 50)

tuneR documentation built on May 2, 2019, 6:15 p.m.

Related to lpc2cep in tuneR...