
%%
% part A: Adding more filter coefficients (i.e. more echos)
%%
[x,Fs,nbits] = wavread('cntry.wav'); %use any audio file you like
%sound(x,Fs) %listen to original audio file
h = zeros(1,4000);

% 9 echos added
h(1) = 1; % orginal signal
h(1000) = 1/2;
h(2000) = 1/4;



y = conv(x,h);
y=y/max(y); %normalize filter output
%pause(5)
sound(y,Fs);