Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB: please help with this MATLAB coding assignment involving audio sound. thank you! it specifies a music.wav file but any .wav file should work Part

MATLAB: please help with this MATLAB coding assignment involving audio sound. thank you!
image text in transcribed
image text in transcribed
it specifies a music.wav file but any .wav file should work
Part 3: Simple 3-bands equalizer Use the music.wav file 1. The music file is standard CD quality, sampled at 44.1 KHz with a 16-bit word size for each channel. So if we have a stereo sound 10 seconds long, how many samples of data do you expect to see? (Hint: the data samples are in stereo.) If we needed to transmit at this CD quality, with no compression, how many bits/second would be needed? Test the equalizer filters 2. Now let's say, we have 3 filters (3 difference equations) which are LPF,BPF and HPF. All of them cover the full frequency range. You will learn how to design them later in a class such as B EE 442. For this moment, you just need to determine which one is LP, HP, BP. You should use freqz with Fs as input and plot the frequency response pictures as shown in the plot below Filter LP, HP, or BP? B10.0495 0.1486 0.1486 0.0495 Al0000619 0.6959 -0.1378 B20.1300.2622 0 0.1311 A21.0000 -0.4824 0.8101 -0.2269 0.2722 B30.0985 -0.2956 0.2956 -0.0985 A31.0000 0.5772 0.4218 0.0563 7 3. Idea of an equalizer is just filter, weight, and sum. Audio mixing boards do this, though with many more than the three channels we have here MA Perform subband filtering clear allileclose al prepare sA Eor each ter hee Load s eft-x right-t,2 fil er ylleft-filter (B.AL.left) y1.right-filter B.Al,x right yleft ylrightla 6% at he end, we need to aun G2- G3-2 soundse ty.Fala 4. You need to change the three filters gains (GI, G2, and G3) and listen to the processed music. Compare what you hear for the original and filtered sound. 5. Note that a gain of % is a reduction of 6 dB in magnitude and a gain of 1 is a change of O dB in magnitude. The gain in dB gain is for each filter is given by Normally, cach equalizer gain can cut or boost the gain in dB from -20 to 20 dB. What range of values does this requires for Gl, G2, and G3? Part 3: Simple 3-bands equalizer Use the music.wav file 1. The music file is standard CD quality, sampled at 44.1 KHz with a 16-bit word size for each channel. So if we have a stereo sound 10 seconds long, how many samples of data do you expect to see? (Hint: the data samples are in stereo.) If we needed to transmit at this CD quality, with no compression, how many bits/second would be needed? Test the equalizer filters 2. Now let's say, we have 3 filters (3 difference equations) which are LPF,BPF and HPF. All of them cover the full frequency range. You will learn how to design them later in a class such as B EE 442. For this moment, you just need to determine which one is LP, HP, BP. You should use freqz with Fs as input and plot the frequency response pictures as shown in the plot below Filter LP, HP, or BP? B10.0495 0.1486 0.1486 0.0495 Al0000619 0.6959 -0.1378 B20.1300.2622 0 0.1311 A21.0000 -0.4824 0.8101 -0.2269 0.2722 B30.0985 -0.2956 0.2956 -0.0985 A31.0000 0.5772 0.4218 0.0563 7 3. Idea of an equalizer is just filter, weight, and sum. Audio mixing boards do this, though with many more than the three channels we have here MA Perform subband filtering clear allileclose al prepare sA Eor each ter hee Load s eft-x right-t,2 fil er ylleft-filter (B.AL.left) y1.right-filter B.Al,x right yleft ylrightla 6% at he end, we need to aun G2- G3-2 soundse ty.Fala 4. You need to change the three filters gains (GI, G2, and G3) and listen to the processed music. Compare what you hear for the original and filtered sound. 5. Note that a gain of % is a reduction of 6 dB in magnitude and a gain of 1 is a change of O dB in magnitude. The gain in dB gain is for each filter is given by Normally, cach equalizer gain can cut or boost the gain in dB from -20 to 20 dB. What range of values does this requires for Gl, G2, and G3

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

More Books

Students also viewed these Databases questions