Revision as of 18:02, 4 September 2008 by Mgoklani (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
% Monil Goklani
% September 5, 2008
% ECE301 HW1 part 2
 
clear;
clc;
% first we open the original file

[forward,fs,nbits]=wavread('C:\Users\MONIL\Desktop\jpforward.wav');
wavplay(forward,44100);

%now we reverse the song

reverse=flipud(forward);
wavplay(reverse,44100);
wavwrite(reverse,44100,'C:\Users\MONIL\Desktop\jpreverse.wav');

%now we play the reverse version slower by reducing the sampling rate

wavplay(reverse,22050);
wavwrite(reverse,22050,'C:\Users\MONIL\Desktop\jpslowreverse.wav');

Alumni Liaison

Meet a recent graduate heading to Sweden for a Postdoctorate.

Christine Berkesch