Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Upsampling and interpolating an audio signal (Computational). To begin, generate a 150 Hz sine wave signal, sampled at 1000 Hz, of length 1 second.

image text in transcribed

4. Upsampling and interpolating an audio signal (Computational). To begin, generate a 150 Hz sine wave signal, sampled at 1000 Hz, of length 1 second. Denote this discrete-time signal by x. (a) Listen to the signal (e.g., use audioplayer in MATLAB) at the correct sampling fre- quency and at 4 times the correct sampling frequency. What is the effect of changing the playback sampling frequency? (b) Denote c upsampled by 4 by y. Use the interpolation filter with impulse response dn + dn-1 + dn2 + dn3 to filter y, denoting the result by w. For a different interpolation of y, design a lowpass FIR filter using the Parks-McClellan filter design method (e.g., use firpm in MATLAB). Use filter order 16, a passband that is appropriate for the upsampling factor, a transition band of width 7/20, error weighting 10 times larger for the stopband than the passband, and appropriate passband and stopband gains. Denote the result by v. Listen to y, w, and v. How do they differ? (d) Plot a few periods of y, w, and v on the same graph. What differences are noticeable? (e) Plot the magnitudes of the frequency responses of the interpolation filters from parts (b) and (c) on the same graph. How do they compare? Which do you expect to perform better and why? (f) Plot the magnitudes of the spectra of y, w, and v on the same graph. What do you notice? 4. Upsampling and interpolating an audio signal (Computational). To begin, generate a 150 Hz sine wave signal, sampled at 1000 Hz, of length 1 second. Denote this discrete-time signal by x. (a) Listen to the signal (e.g., use audioplayer in MATLAB) at the correct sampling fre- quency and at 4 times the correct sampling frequency. What is the effect of changing the playback sampling frequency? (b) Denote c upsampled by 4 by y. Use the interpolation filter with impulse response dn + dn-1 + dn2 + dn3 to filter y, denoting the result by w. For a different interpolation of y, design a lowpass FIR filter using the Parks-McClellan filter design method (e.g., use firpm in MATLAB). Use filter order 16, a passband that is appropriate for the upsampling factor, a transition band of width 7/20, error weighting 10 times larger for the stopband than the passband, and appropriate passband and stopband gains. Denote the result by v. Listen to y, w, and v. How do they differ? (d) Plot a few periods of y, w, and v on the same graph. What differences are noticeable? (e) Plot the magnitudes of the frequency responses of the interpolation filters from parts (b) and (c) on the same graph. How do they compare? Which do you expect to perform better and why? (f) Plot the magnitudes of the spectra of y, w, and v on the same graph. What do you notice

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

What are the four management functions?

Answered: 1 week ago

Question

=+P* fails to agree with P on 70 and explain why.

Answered: 1 week ago

Question

In which countries are mixed - gender focus groups problematic?

Answered: 1 week ago

Question

understand the meaning of the terms discipline and grievance

Answered: 1 week ago