(Sounds Files)
(Sounds Files)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
== Sounds Files ==
 
== Sounds Files ==
[http://kiwi.ecn.purdue.edu/ECE301Fall2008mboutin/images/6/67/Judas_Reverse_%40_44100HZ.wav Judas Reverse @ 44100HZ]
+
Normal Reverse Speed - [http://kiwi.ecn.purdue.edu/ECE301Fall2008mboutin/images/6/67/Judas_Reverse_%40_44100HZ.wav Judas Reverse @ 44100HZ]
  
[http://kiwi.ecn.purdue.edu/ECE301Fall2008mboutin/images/1/1d/Judas_Reverse_22050HZ.wav Judas Reverse @ 22050HZ
+
Slow Reverse Speed -  [http://kiwi.ecn.purdue.edu/ECE301Fall2008mboutin/images/1/1d/Judas_Reverse_22050HZ.wav Judas Reverse @ 22050HZ]
]
+
 
 +
== Matlab Code ==
 +
<pre>
 +
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');
 +
</pre>
 +
 
 +
 
 +
== Results ==
 +
This part of the homework was fairly straightforward.  I chose to use two different sampling rates so that it could be listened to at different speeds.
 +
 
 +
It took me a long time to decipher 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".

Latest revision as of 14:15, 4 September 2008

Sounds Files

Normal Reverse Speed - Judas Reverse @ 44100HZ

Slow Reverse Speed - 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

This part of the homework was fairly straightforward. I chose to use two different sampling rates so that it could be listened to at different speeds.

It took me a long time to decipher 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

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

Dr. Paul Garrett