Quefrency
   HOME

TheInfoList



OR:

In Fourier analysis, the cepstrum (; plural ''cepstra'', adjective ''cepstral'') is the result of computing the
inverse Fourier transform In mathematics, the Fourier inversion theorem says that for many types of functions it is possible to recover a function from its Fourier transform. Intuitively it may be viewed as the statement that if we know all frequency and phase information a ...
(IFT) of the
logarithm In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number  to the base  is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 of ...
of the estimated signal spectrum. The method is a tool for investigating periodic structures in
frequency Frequency is the number of occurrences of a repeating event per unit of time. It is also occasionally referred to as ''temporal frequency'' for clarity, and is distinct from ''angular frequency''. Frequency is measured in hertz (Hz) which is eq ...
spectra. The ''power cepstrum'' has applications in the analysis of
human speech Speech is a human vocal communication using language. Each language uses phonetic combinations of vowel and consonant sounds that form the sound of its words (that is, all English words sound different from all French words, even if they are th ...
. The term ''cepstrum'' was derived by reversing the first four letters of ''spectrum''. Operations on cepstra are labelled ''quefrency analysis'' (or ''quefrency alanysisB. P. Bogert, M. J. R. Healy, and J. W. Tukey, ''The Quefrency of Time Series for Echoes: Cepstrum, Pseudo Autocovariance, Cross-Cepstrum and Saphe Cracking'', ''Proceedings of the Symposium on Time Series Analysis'' (M. Rosenblatt, Ed) Chapter 15, 209-243. New York: Wiley, 1963.''), ''liftering'', or ''cepstral analysis''. It may be pronounced in the two ways given, the second having the advantage of avoiding confusion with ''kepstrum''.


Origin

The concept of the cepstrum was introduced in 1963 by B. P. Bogert, M. J. Healy, and J. W. Tukey. It serves as a tool to investigate periodic structures in frequency spectra. Such effects are related to noticeable echos or reflections in the signal, or to the occurrence of harmonic frequencies ( partials,
overtones An overtone is any resonant frequency above the fundamental frequency of a sound. (An overtone may or may not be a harmonic) In other words, overtones are all pitches higher than the lowest pitch within an individual sound; the fundamental i ...
). Mathematically it deals with the problem of
deconvolution In mathematics, deconvolution is the operation inverse to convolution. Both operations are used in signal processing and image processing. For example, it may be possible to recover the original signal after a filter (convolution) by using a deco ...
of signals in the frequency space.D. G. Childers, D. P. Skinner, R. C. Kemerait,
The Cepstrum: A Guide to Processing
, ''Proceedings of the IEEE'', Vol. 65, No. 10, October 1977, pp. 1428–1443.
References to the Bogert paper, in a bibliography, are often edited incorrectly. The terms "quefrency", "alanysis", "cepstrum" and "saphe" were invented by the authors by rearranging the letters in frequency, analysis, spectrum, and phase. The invented terms are defined in analogy to the older terms.


General definition

The cepstrum is the result of following sequence of mathematical operations: *transformation of a
signal In signal processing, a signal is a function that conveys information about a phenomenon. Any quantity that can vary over space or time can be used as a signal to share messages between observers. The '' IEEE Transactions on Signal Processing' ...
from the
time domain Time domain refers to the analysis of mathematical functions, physical signals or time series of economic or environmental data, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the c ...
to the
frequency domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a s ...
*computation of the logarithm of the spectral amplitude *transformation to frequency domain, where the final independent variable, the quefrency, has a time scale.


Types

The cepstrum is used in many variants. Most important are: * power cepstrum: The logarithm is taken from the "power spectrum" * complex cepstrum: The logarithm is taken from the spectrum, which is calculated via Fourier analysis The following abbreviations are used in the formulas to explain the cepstrum:


Power cepstrum

The "cepstrum" was originally defined as power cepstrum by the following relationship: :C_=\left, \mathcal^\left\\^2 The power cepstrum has main applications in analysis of sound and vibration signals. It is a complementary tool to spectral analysis. Sometimes it is also defined as: :C_=\left, \mathcal\left\\^2 Due to this formula, the cepstrum is also sometimes called the ''spectrum of a spectrum''. It can be shown that both formulas are consistent with each other as the frequency spectral distribution remains the same, the only difference being a scaling factor which can be applied afterwards. Some articles prefer the second formula. Other notations are possible due to the fact that the log of the power spectrum is equal to the log of the spectrum if a scaling factor 2 is applied: :\log , \mathcal, ^2 = 2 \log , \mathcal, and therefore: :C_=\left, \mathcal^\left\\^2, \text :C_=4\cdot\left, \mathcal^\left\\^2, which provides a relationship to the ''real cepstrum'' (see below). Further, it shall be noted, that the final squaring operation in the formula for the power spectrum C_ is sometimes called unnecessary and therefore sometimes omitted. The real cepstrum is directly related to the power cepstrum: :C_=4\cdot C_^2 It is derived from the complex cepstrum (defined below) by discarding the phase information (contained in the
imaginary part In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
of the complex logarithm). It has a focus on periodic effects in the amplitudes of the spectrum: :C_=\mathcal^\left\


Complex cepstrum

The complex cepstrum was defined by Oppenheim in his development of homomorphic system theory.A. V. Oppenheim, "Superposition in a class of nonlinear systems" Ph.D. diss., Res. Lab. Electronics, M.I.T. 1965.A. V. Oppenheim, R. W. Schafer, "Digital Signal Processing", 1975 (Prentice Hall). The formula is provided also in other literature. :C_=\mathcal^\left\ As \mathcal is complex the log-term can be also written with \mathcal as a product of magnitude and phase, and subsequently as a sum. Further simplification is obvious, if log is a natural logarithm with base ''e'': :\log(\mathcal) = \log(\mathcal) :\log_e(\mathcal) = \log_e(\mathcal) + \log_e(e^) = \log_e(\mathcal) + i\varphi Therefore: The complex cepstrum can be also written as:R.B. Randall:
"A history of cepstrum analysis and its application to mechanical problems"
(PDF) in: Mechanical Systems and Signal Processing, Volume 97, December 2017 (Elsevier).
:C_=\mathcal^\left\ The complex cepstrum retains the information about the phase. Thus it is always possible to return from the quefrency domain to the time domain by the inverse operation: :f(t)=\mathcal^\left\, where ''b'' is the base of the used logarithm. Main application is the modification of the signal in the quefrency domain (liftering) as an analog operation to filtering in the spectral frequency domain. An example is the suppression of echo effects by suppression of certain quefrencies. The phase cepstrum (after
phase spectrum The power spectrum S_(f) of a time series x(t) describes the distribution of power into frequency components composing that signal. According to Fourier analysis, any physical signal can be decomposed into a number of discrete frequencies, ...
) is related to the complex cepstrum as : phase spectrum = (complex cepstrum − time reversal of complex cepstrum)2.


Related concepts

The independent variable of a cepstral graph is called the quefrency. The quefrency is a measure of time, though not in the sense of a signal in the
time domain Time domain refers to the analysis of mathematical functions, physical signals or time series of economic or environmental data, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the c ...
. For example, if the sampling rate of an audio signal is 44100 Hz and there is a large peak in the cepstrum whose quefrency is 100 samples, the peak indicates the presence of a fundamental frequency that is 44100/100 = 441 Hz. This peak occurs in the cepstrum because the harmonics in the spectrum are periodic and the period corresponds to the fundamental frequency, since harmonics are integer multiples of the fundamental frequency. The ''kepstrum'', which stands for "Kolmogorov-equation power-series time response", is similar to the cepstrum and has the same relation to it as expected value has to statistical average, i.e. cepstrum is the empirically measured quantity, while kepstrum is the theoretical quantity. It was in use before the cepstrum. The autocepstrum is defined as the cepstrum of the autocorrelation. The autocepstrum is more accurate than the cepstrum in the analysis of data with echoes. Playing further on the anagram theme, a filter that operates on a cepstrum might be called a ''lifter''. A low-pass lifter is similar to a low-pass filter in the
frequency domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a s ...
. It can be implemented by multiplying by a window in the quefrency domain and then converting back to the frequency domain, resulting in a modified signal, i.e. with signal echo being reduced.


Interpretation

The cepstrum can be seen as information about the rate of change in the different spectrum bands. It was originally invented for characterizing the seismic echoes resulting from
earthquake An earthquake (also known as a quake, tremor or temblor) is the shaking of the surface of the Earth resulting from a sudden release of energy in the Earth's lithosphere that creates seismic waves. Earthquakes can range in intensity, fr ...
s and bomb explosions. It has also been used to determine the fundamental frequency of human speech and to analyze
radar Radar is a detection system that uses radio waves to determine the distance ('' ranging''), angle, and radial velocity of objects relative to the site. It can be used to detect aircraft, ships, spacecraft, guided missiles, motor vehicles, we ...
signal returns. Cepstrum pitch determination is particularly effective because the effects of the vocal excitation (pitch) and
vocal tract The vocal tract is the cavity in human bodies and in animals where the sound produced at the sound source ( larynx in mammals; syrinx in birds) is filtered. In birds it consists of the trachea, the syrinx, the oral cavity, the upper part of th ...
(formants) are additive in the logarithm of the power spectrum and thus clearly separate. The cepstrum is a representation used in homomorphic signal processing, to convert signals combined by
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
(such as a source and filter) into sums of their cepstra, for linear separation. In particular, the power cepstrum is often used as a feature vector for representing the human voice and musical signals. For these applications, the spectrum is usually first transformed using the mel scale. The result is called the mel-frequency cepstrum or MFC (its coefficients are called mel-frequency cepstral coefficients, or MFCCs). It is used for voice identification,
pitch detection Pitch may refer to: Acoustic frequency * Pitch (music), the perceived frequency of sound including "definite pitch" and "indefinite pitch" ** Absolute pitch or "perfect pitch" ** Pitch class, a set of all pitches that are a whole number of octave ...
and much more. The cepstrum is useful in these applications because the low-frequency periodic excitation from the
vocal cord In humans, vocal cords, also known as vocal folds or voice reeds, are folds of throat tissues that are key in creating sounds through vocalization. The size of vocal cords affects the pitch of voice. Open when breathing and vibrating for speec ...
s and the
formant In speech science and phonetics, a formant is the broad spectral maximum that results from an acoustic resonance of the human vocal tract. In acoustics, a formant is usually defined as a broad peak, or local maximum, in the spectrum. For harmoni ...
filtering of the
vocal tract The vocal tract is the cavity in human bodies and in animals where the sound produced at the sound source ( larynx in mammals; syrinx in birds) is filtered. In birds it consists of the trachea, the syrinx, the oral cavity, the upper part of th ...
, which convolve in the
time domain Time domain refers to the analysis of mathematical functions, physical signals or time series of economic or environmental data, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the c ...
and multiply in the
frequency domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a s ...
, are additive and in different regions in the quefrency domain. Note that a pure sine wave can not be used to test the cepstrum for its pitch determination from quefrency as a pure sine wave does not contain any harmonics and does not lead to quefrency peaks. Rather, a test signal containing harmonics should be used (such as the sum of at least two sines where the second sine is some harmonic (multiple) of the first sine, or better, a signal with a square or triangle waveform, as such signals provide many overtones in the spectrum.). An important property of the cepstral domain is that the
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of two signals can be expressed as the addition of their complex cepstra: : x_1 * x_2 \mapsto x'_1 + x'_2.


Applications

The concept of the cepstrum has led to numerous applications: * dealing with reflection inference (radar, sonar applications, earth seismology) * estimation of speaker fundamental frequency (pitch) * speech analysis and recognition * medical applications in analysis of electroencephalogram (EEG) and brain waves * machine vibration analysis based on harmonic patterns (gearbox faults, turbine blade failures, ...)R.B. Randall: Cepstrum Analysis and Gearbox Fault Diagnosis, Brüel&Kjaer Application Notes 233-80, Edition 2
(PDF)

Recently cepstrum based deconvolution was used to remove the effect of the stochastic impulse trains, which originates an sEMG signal, from the power spectrum of sEMG signal itself. In this way, only information on motor unit action potential (MUAP) shape and amplitude were maintained, and then, used to estimate the parameters of a time-domain model of the MUAP itself.G. Biagetti, P. Crippa, S. Orcioni, and C. Turchetti, “Homomorphic deconvolution for muap estimation from surface emg signals,” IEEE Journal of Biomedical and Health Informatics, vol. 21, no. 2, pp. 328– 338, March 2017. A short-time cepstrum analysis was proposed by
Schroeder __NOTOC__ Schroeder is a North German language, German (from Schröder) occupational name for a cloth cutter or tailor, from an agent derivative of Middle Low German , "to cut". The same term was occasionally used to denote a gristmiller as well as ...
and Noll for application to pitch determination of human speech. A. Michael Noll and Manfred R. Schroeder, "Short-Time 'Cepstrum' Pitch Detection," (abstract) Journal of the Acoustical Society of America, Vol. 36, No. 5, p. 1030A. Michael Noll (1964), “Short-Time Spectrum and Cepstrum Techniques for Vocal-Pitch Detection”, Journal of the Acoustical Society of America, Vol. 36, No. 2, pp. 296–302.A. Michael Noll (1967), “Cepstrum Pitch Determination”, Journal of the Acoustical Society of America, Vol. 41, No. 2, pp. 293–309.


References


Further reading

* * {{cite journal , last1=Oppenheim , first1=A.V. , last2=Schafer , first2=R.W. , title=Dsp history - From frequency to quefrency: a history of the cepstrum , journal=IEEE Signal Processing Magazine , publisher=Institute of Electrical and Electronics Engineers (IEEE) , volume=21 , issue=5 , year=2004 , issn=1053-5888 , doi=10.1109/msp.2004.1328092 , pages=95–106, bibcode=2004ISPM...21...95O , s2cid=1162306 *
Speech Signal Analysis
*

, www.advsolned.com *
A tutorial on Cepstrum and LPCCs
Frequency-domain analysis Signal processing