You are on page 1of 1

Fs=44100;

T=5;
Y=wavrecord(T*Fs,Fs);
subplot(2,1,1)
plot(Y)
wavplay(Y,Fs);
Y1=[Y;zeros(65000,1)];
Y2=1.2*[zeros(65000,1);Y];
Y3= Y1 + Y2;
subplot(2,1,2)
plot(Y3)
wavplay(Y3,Fs);

You might also like