(Matlab Code)
(Matlab Code)
Line 26: Line 26:
 
wavwrite(outputArray, 22050, 'Judas Reverse_22050HZ');
 
wavwrite(outputArray, 22050, 'Judas Reverse_22050HZ');
 
</pre>
 
</pre>
 +
 +
 +
== Results ==
 +
It took me a long time to decifer what was actually being said in the song.  But, it turns out that the singer says, "Beyond the realms of death" (when played forward). When the song is played in reverse, it sounds like he's saying, "I took my own life".

Revision as of 13:39, 4 September 2008

Sounds Files

Judas Reverse @ 44100HZ

Judas Reverse @ 22050HZ


Matlab Code

clear
clc
fileInput = 'jpforward.wav'; %Input file
origArray = wavread(fileInput); %Array containing input file

inputLength = length(origArray); %gets length of array
count = 1; %Initializes counter

for count = 1:inputLength; %Simply reverses the array using a loop
    outputArray(inputLength - count + 1) = origArray(count);
end

%Sampling rates used: 44100HZ and 22050HZ
wavplay(outputArray, 44100); %Plays the sound file
wavplay(outputArray, 22050);
wavwrite(outputArray, 44100, 'Judas Reverse_44100HZ'); %Saves sound file
wavwrite(outputArray, 22050, 'Judas Reverse_22050HZ');


Results

It took me a long time to decifer what was actually being said in the song. But, it turns out that the singer says, "Beyond the realms of death" (when played forward). When the song is played in reverse, it sounds like he's saying, "I took my own life".

Alumni Liaison

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

Dr. Paul Garrett