Revision as of 19: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

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett