Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Test it on different sound data, and summarize your observations. Try modifying the MATH equation, swap coefficients, and summarize your observations. u = audioread('FunkyDrums-44p1-stereo-25secs.mp3'); %

Test it on different sound data, and summarize your observations.
Try modifying the MATH equation, swap coefficients, and summarize your observations.
u = audioread('FunkyDrums-44p1-stereo-25secs.mp3');
% average RIGHT and LEFT channel data for MONO sound
u = (u(:,1) + u(:,2))/2;
plot(u);
apu = audioplayer(u,44100);
play(apu);
% sine wave example
%Ts=1e-3;
%u=sin(2*pi*3*[0:5000]*Ts);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
N=length(u);
y=zeros(N,1);
for k=2:N
y(k)=0.99*y(k-1)+0.01*u(k);
end
% for the sine wave example, comment out the next line
y=y/max(abs(y));
plot(y);
apy = audioplayer(y,44100);
play(apy);

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions