% 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');