Revision as of 12:41, 4 September 2008 by Willi155 (Talk)

%Jack Williams
%ECE 301, Mimi Boutin
%HW 1.2
%September 4, 2008

%Judas Priest Song Played in Reverse

clear
clc

%Set the sample rate to that of common CD players (44100 Hz)
sample_rate = 44100;

%Read the data file from saved location
data = wavread('H:\Fall 2008 ENAD\ECE 301\jpforward.wav');

%Reverse the column vector 'data'
data = flipud(data);

%Play the soundfile backwards
wavplay(data, sample_rate);

%Play the soundfile backwards, but slower
wavplay(data, sample_rate/1.25);

%When the .wav file is played backwards,
%the message seems to be "I took my life"

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett