<< Chapter < Page Chapter >> Page >

Down load the audio files speech.au and music.au . Use your Uquant function to quantize each of these signals to 7, 4, 2 and 1 bits/sample.Listen to the original and quantized signals and answer the following questions:

  • For each signal, describe the change in quality as the number of b/sample is reduced?
  • For each signal, is there a point at which the signal quality deteriorates drastically?At what point (if any) does it become incomprehensible?
  • Which signal's quality deteriorates faster as the number of levels decreases?
  • Do you think 4 b/sample is acceptable for telephone systems? ... 2 b/sample?

Use subplot to plot in the same figure, the four quantized speech signals over theindex range 7201:7400. Generate a similar figure for the music signal, using the same indices.Make sure to use orient tall before printing these out.

Hand in answers to the above questions, and the two Matlab figures.

Error analysis

As we have clearly observed, quantization produces errors in a signal. The most effective methods for analysis of the error turn outto be probabilistic. In order to apply these methods, however, one needs to have a clear understanding of the error signal'sstatistical properties. For example, can we assume that the error signal is white noise? Can we assume that it is uncorrelatedwith the quantized signal? As you will see in this exercise, both of these are good assumptions if the quantization intervalsare small compared with sample-to-sample variations in the signal.

If the original signal is X , and the quantized signal is Y , the error signal is defined by the following:

E = Y - X

Compute the error signal for the quantized speech for 7, 4, 2 and 1 b/sample.

When the spacing, Δ , between quantization levels is sufficiently small,a common statistical model for the error is a uniform distribution from - Δ 2 to Δ 2 . Use the command hist(E,20) to generate 20-bin histograms for each of the four error signals.Use subplot to place the four histograms in the same figure.

Inlab report

  1. Hand in the histogram figure.
  2. How does the number of quantization levels seem to affect the shape of the distribution?
  3. Explain why the error histograms you obtain might not be uniform?

Next we will examine correlation properties of the error signal. First compute and plot an estimate of the autocorrelation functionfor each of the four error signals using the following commands:

[r,lags] = xcorr(E,200,'unbiased');

plot(lags,r)

Now compute and plot an estimate of the cross-correlation function between the quantized speech Y and each error signal E using

[c,lags] = xcorr(E,Y,200,'unbiased');

plot(lags,c)

Inlab report

  1. Hand in the autocorrelation and cross-correlation estimates.
  2. Is the autocorrelation influenced by the number of quantization levels? Do samples in the error signal appear to be correlated with each other?
  3. Does the number of quantization levels influence the cross-correlation?

Signal to noise ratio

One way to measure the quality of a quantized signal is by the Power Signal-to-Noise Ratio (PSNR).This is defined by the ratio of the power in the quantized speech to power in the noise.

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask