Revision as of 15:43, 5 September 2008 by Vravi (Talk)

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

%Name:Vivek Ravi


%Read the wav file in matlab
fs=44100;%This is the sampling frequency to be used
[judasp,fs,bits]=wavread('C:\Documents and Settings\admin\Desktop\jpforward.wav');
wavplay(judasp,fs);%This is how it is when played forward
pause(2)
%reverse the signal
judaspback=flipud(judasp); 
sound(judaspback,fs);
pause(2)
%Slower version
slow=fs/2;
sound(judaspback,slow);
pause(3)
%fast version with doubled frequency
fast=fs*2;
wavplay(judaspback,fast);
<pre>

Alumni Liaison

Followed her dream after having raised her family.

Ruth Enoch, PhD Mathematics