Reversed: Media:HW1.2a_Jungu_Choi_ECE301Fall2008mboutin.wav
Reversed-slower: Media:HW1.2b_Jungu_Choi_ECE301Fall2008mboutin.wav


Matlab Code

%Normal Play

y = wavread('jpforward.wav');
wavplay(y,44100);

%Reverse Play
y2 = y;
for I=1:751000
    y2(I) = y(size(y,1)-I+1);
end
%wavplay(y2,44100);
wavwrite(y2,44100,'HW1.2a_Jungu_Choi.wav');

%wavplay(y2,22050);
wavwrite(y2,22050,'HW1.2b_Jungu_Choi.wav');
% Twice Faster

%y3 = 1:1:751000/2;
%for J=1:751000/2
%    y3(J) = y2(2*J);
%end
%wavplay(y3,44100);

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn