Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do this Write a Matlab script to read in a wav signal as follows: [y, Fs]audioread(applause.wav') vector y contains the audio signal and Fs

Please do this

image text in transcribed

Write a Matlab script to read in a wav signal as follows: [y, Fs]audioread(applause.wav') vector y contains the audio signal and Fs returns the sampling rate. Use the function sound(y.Fs) to listen to the audio. The audio signal must be processed using lowpass and highpass filters and the output of each filter played using the sound function above to compare with the original and with each other Step 1: Filter with the lowpass filter which has a cutoff frequency Fc = 400 Hz. The filter coefficients are: b [0.127405506514293 0.509622026057172 0.764433039085757 0.509622026057172 0.127405506514293] * 1.0e-03 a=[ 1.000000000000000-340492 1297086085 4.385491616873872-2528876415181691 0.550344583498133] Step 2: Filter with the highpass filter which has a cutoff frequency Fc = 1300 Hz. The filter coefficients are: b= [0.369600037616006-1.478400150464025 2.217600225696037-1.478400150464025 0.369600037616006] 1.887390228238211-0.807738582323864 a= [1.000000000000000-2081796907318938 0.136674883975085] Write a Matlab script to read in a wav signal as follows: [y, Fs]audioread(applause.wav') vector y contains the audio signal and Fs returns the sampling rate. Use the function sound(y.Fs) to listen to the audio. The audio signal must be processed using lowpass and highpass filters and the output of each filter played using the sound function above to compare with the original and with each other Step 1: Filter with the lowpass filter which has a cutoff frequency Fc = 400 Hz. The filter coefficients are: b [0.127405506514293 0.509622026057172 0.764433039085757 0.509622026057172 0.127405506514293] * 1.0e-03 a=[ 1.000000000000000-340492 1297086085 4.385491616873872-2528876415181691 0.550344583498133] Step 2: Filter with the highpass filter which has a cutoff frequency Fc = 1300 Hz. The filter coefficients are: b= [0.369600037616006-1.478400150464025 2.217600225696037-1.478400150464025 0.369600037616006] 1.887390228238211-0.807738582323864 a= [1.000000000000000-2081796907318938 0.136674883975085]

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