Last chance! 50% off unlimited learning
Sale ends in
Convert the LPC coefficients in each column of a
into frames of cepstra.
lpc2cep(a, nout = nrow(a))
Matrix of LPC coefficients.
Number of cepstra to produce.
Matrix of cepstra (one column per time frame).
Daniel P. W. Ellis: http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/
# NOT RUN {
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