02.10.2019 Views

UploadFile_6417

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

622 Chapter 12 APPLICATIONS IN COMMUNICATIONS<br />

DM, the interested reader is referred to the papers by Jayant [14] and<br />

Flanagan et al. [4] and to the extensive references contained in these<br />

papers.<br />

12.4.2 PROJECT 12.4: DM AND ADM<br />

The purpose of this project is to gain an understanding of delta modulation<br />

and adaptive delta modulation for coding of waveforms. This project<br />

involves writing MATLAB functions for the DM encoder and decoder as<br />

shown in Figure 12.9, and for the ADM encoder and decoder shown in<br />

Figure 12.11. The lowpass filter at the decoder can be implemented as a<br />

linear-phase FIR filter. For example, a Hanning filter that has the impulse<br />

response<br />

h(n) = 1 [ ( )] 2πn<br />

1 − cos<br />

, 0 ≤ n ≤ N − 1 (12.26)<br />

2 N − 1<br />

may be used, where the length N may be selected in the range 5 ≤ N ≤ 15.<br />

The input to the DM and ADM systems can be supplied from the<br />

waveforms generated in Project 12.1 except that the sampling rate should<br />

be higher by a factor of 5 to 10. The output of the decoder can be plotted.<br />

Comparisons should be made between the output signal from the DM and<br />

ADM decoders and the original input signal.<br />

12.5 LINEAR PREDICTIVE CODING (LPC) OF SPEECH<br />

The linear predictive coding (LPC) method for speech analysis and synthesis<br />

is based on modeling the vocal tract as a linear all-pole (IIR) filter<br />

having the system function<br />

H (z) =<br />

1+<br />

G<br />

(12.27)<br />

p∑<br />

a p (k) z −k<br />

k=1<br />

where p is the number of poles, G is the filter gain, and {a p (k)} are the<br />

parameters that determine the poles. There are two mutually exclusive<br />

excitation functions to model voiced and unvoiced speech sounds. On a<br />

short-time basis, voiced speech is periodic with a fundamental frequency<br />

F 0 ,orapitch period 1/F 0 , which depends on the speaker. Thus voiced<br />

speech is generated by exciting the all-pole filter model by a periodic<br />

impulse train with a period equal to the desired pitch period. Unvoiced<br />

speech sounds are generated by exciting the all-pole filter model by the<br />

output of a random-noise generator. This model is shown in Figure 12.12.<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!