(Matlab Code)
(Results)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
== Sound Files ==
 
== Sound Files ==
 
* [[Media:Forward44k_ECE301Fall2008mboutin.wav|Forward 44k]]
 
* [[Media:Forward44k_ECE301Fall2008mboutin.wav|Forward 44k]]
 
* [[Media:Backward44k_ECE301Fall2008mboutin.wav|Backward 44k]]
 
* [[Media:Backward44k_ECE301Fall2008mboutin.wav|Backward 44k]]
 
* [[Media:Backward22k_ECE301Fall2008mboutin.wav|Backward 22k]]
 
* [[Media:Backward22k_ECE301Fall2008mboutin.wav|Backward 22k]]
 +
 +
 +
== Results ==
 +
In the foward version it sounds like he says "Beyond the realms of death".  Backwards it sounds like "I took my own life".
  
 
== Matlab Code ==
 
== Matlab Code ==
Line 36: Line 39:
 
wavwrite(jpbackward, 22050, 'Backward22k.wav');
 
wavwrite(jpbackward, 22050, 'Backward22k.wav');
 
</pre>
 
</pre>
 
== Results ==
 

Latest revision as of 13:34, 4 September 2008

Sound Files


Results

In the foward version it sounds like he says "Beyond the realms of death". Backwards it sounds like "I took my own life".

Matlab Code

%Phil Cannon 
%pjcannon@purdue.edu
%ECE301 HW1_2

%This file imports the file 'jpforward.wav' in the local directory.  It
%then plays the file forwards at 44khz, backwards at 44khz, and backwards
%at 22khz.  I found it easiest to interpret the subliminal message at
%44khz.

[x,fs,nbits]=wavread('jpforward.wav');

%Reverse the matrix array
for count=1:length(x)
    jpbackward(length(x)-(count-1))=x(count);
end

%Forwards at 44100 Hz
wavplay(x,44100)
wavwrite(x, 44100, 'Forward44k.wav');

%Backwards at 44100 Hz
wavplay(jpbackward,44100)
wavwrite(jpbackward, 44100, 'Backward44k.wav');

%Backwards at 22050 Hz
wavplay(jpbackward,22050)
wavwrite(jpbackward, 22050, 'Backward22k.wav');

Alumni Liaison

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

Dr. Paul Garrett