Revision as of 16:46, 5 September 2008 by Chen18 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Questions/answers with a recent ECE grad

Ryne Rayburn