[music-dsp] Digital Coding

Ethan Duni eduni at ucsd.edu
Mon Mar 8 20:05:15 EST 2004


Actually, I think I spoke too quickly. It's important to distinguish between
complex and real cepstra here. In practice, people tend to use real cepstra
for speech recognition. In this case, the cepstral coefficients are often
computed via the FFT. The common modification is to use what's called
"mel-scale" cepstra. The mel-scale is a perceptually motivated frequency
scale (basically you sample less finely as frequency increases). This in
turn, is accomplished by taking a long FFT and then averaging together
adjacent bins according the the mel-scale.

However, there is a recursion that allows computation of the complex cepstra
from LPC coefficients. I'm not sure if this gets used in practice (as
opposed to in analytical developments), and I haven't seen a version for
computing real cepstra.  I don't have a good source for this recursion, but
it is obtained by assuming that the true spectrum has the form of your LPC
approximation and then plugging this into the definition of complex
cepstrum. Then, with a little bit of algebra and the application of some
Z-transform properties, you can get the recursion. The actual form of the
recursion is in terms of a convolution of the cepstral coefficients with the
LPC coefficients; this is usable because you know ahead of time that the LPC
coefficients are equal to 0 outside {0,...,M}, where M is the LPC model
order.

Ethan

> Now that is *truly* interesting. How does it happen? From my (naïve and
> perhaps a bit outdated) Oppenheim&Schafer background, it'd seem more
> natural to do an FFT+log+FFT cycle, instead of going with LPC. Is there
> some nifty trick that gives us cepstra from LPC? Does it per chance help
> us avoid the nasty unwrapping problems with the complex logarithm?
> -- 
> Sampo Syreeni, aka decoy - mailto:decoy at iki.fi, tel:+358-50-5756111
> student/math+cs/helsinki university, http://www.iki.fi/~decoy/front
> openpgp: 050985C2/025E D175 ABE5 027C 9494 EEB0 E090 8BA9 0509 85C2
> dupswapdrop -- the music-dsp mailing list and website:
> subscription info, FAQ, source code archive, list archive, book reviews,
dsp links
> http://shoko.calarts.edu/musicdsp
> http://ceait.calarts.edu/mailman/listinfo/music-dsp
>




More information about the music-dsp mailing list