Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Cepstral signal analysis for pitch detection

1
(1.1)

Cepstral signal analysis is one out of several methods that enables us to nd out whether a signal contains periodic elements. The method can also be used to determine the pitch of a signal.

1.1 Denition of the cepstral coefcients


The cepstral coefcients are found by using the following equation c() = F {log(|F {x[n]}|2 )}

where F denotes fourier transform and x[n] is the signal in the time domain. |F {x[n]}|2 is the power spectrum estimat of the signal. When using cepstral analysis we are using new expressions to denote the characteristics. is the quefrency and the magnitude of c() is called the gamnitude.

1.2 Properties of the cepstrum


From equation 1.1 follows that the cepstral coefcients describe the periodicity of the spectrum. A peak in the cepstrum denotes that the signal is a linear combination of multiples of the pitch frequency. The pitch period can be found as the number of the coefcient where the peak occurs. To describe this property an example is used. Figure 1.1 shows a segment of speech which we want to analyze using the cepstrum. The spectrum of the signal is shown at gure 1.2. It is clear that the signal is periodic due to the spikes with equal distances in the spectrum. However it is difcult to determine the pitch frequency since the different harmonics not necessarily is present in the spectrum. Figure 1.3 shows the cepstrum of the signal. The cepstrum consists of two elements. An element from the excitation sequence (a pulse train for voiced speech) in the higher quefrencies. The other element originates from the vocal tract impulse response and is present in the lower quefrencies. 1

CHAPTER 1. CEPSTRAL SIGNAL ANALYSIS FOR PITCH DETECTION

0.4

0.3

0.2

0.1

0.1

0.2

0.3

50

100

150

200

250

300

350

400

450

500

Figure 1.1: A segment of a speech signal.


14

12

10

50

100

150

200

250

Figure 1.2: The spectrum of the speech signal.

The peak in the higher quefrencies indicates that there are some periodicity in the signal. The peak is located at the period of the fundamental frequency.

1.2. PROPERTIES OF THE CEPSTRUM

350

300

250

200

150

100

50

50

100

150

200

250

Figure 1.3: The cepstrum of the speech signal.

You might also like