Matlab Code

%I-Cheng Chen
%09/05/08
%ECE301 hw1.2

%Load up the wav file into Matlab
FS=44100;                                 %44100 Hz sampling rate
[Y,FS,NBITS]=wavread('jpforward.wav');

%Forward version
wavplay(Y,FS);
pause(1)

YBACK=flipud(Y); %reverse the signal

%Reversed version
wavplay(YBACK,FS);
pause(2)

%Slow speed of the song
FS_SLOW=FS/2;
wavplay(y,FS_SLOW);
pause(3)

%Fast speed of the song
FS_FAST=FS*2;;
wavplay(y,FS_FAST);


Message

The forward message is "Beyond the realm of death".
The backward message is "I took my life".

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood