Question
Consider the audio file speech.wav and read it to MATLAB using the wavread function. The sampling frequency was 44.1 kHz and the samples were coded
Consider the audio file “speech.wav” and read it to MATLAB using the wavread function. The sampling frequency was 44.1 kHz and the samples were coded using a uniform quantizer with 16 bits. You can listen to the audio file using the MATLAB function sound.
1. Apply to the signal a uniform quantizer using 32 levels and 256 levels. For each case determine the signal-to quantization noise ratio. Apply then a non-uniform quantizer using the A-law with A = 20 and A = 87.6. And determine the signal-to-quantization noise ratio for these cases.
2. Consider now that the signal is attenuated 10, 20, 30, and 40 dB. For each of these cases, determine the signal-to-quantization noise ratio, considering a uniform quantizer and a non-uniform quantizer (A = 87.6) both with 256 levels.
3. Draw a graph with the results obtained and comment.
Step by Step Solution
3.56 Rating (156 Votes )
There are 3 Steps involved in it
Step: 1
ANSWER 1 For the uniform quantizer with 32 levels the signaltoquantization noise ratio is approximat...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started