Media:jpbackward_drecord_ECE301Fall2008mboutin.wav

%%%HW 1.2: Judas Priest Played Backwards %%%
%David Record
%September 4th 2008

%Setup
clear;
clc;

%Read Data from File
[data, sample_rate, bits_per_sample] = wavread('jpforward.wav');

%Play Forward
wavplay(data, sample_rate);

%Reverse the song
reversed = flipud(data);

%Play the reversed song
wavplay(reversed, sample_rate);
%He says, "we all have to die"?

%Play slower
wavplay(reversed, sample_rate/1.2);
%doesn't really help...

%Create file of reversed song.
wavwrite(reversed,sample_rate,bits_per_sample,'jpbackward.wav');

Alumni Liaison

BSEE 2004, current Ph.D. student researching signal and image processing.

Landis Huffman