Line 28: Line 28:
 
%writes the file
 
%writes the file
 
</pre>
 
</pre>
 +
 +
Here is the reverse [[Media:priestbackwards.wav _ECE301Fall2008mboutin| file]]

Latest revision as of 09:27, 4 September 2008

clear all
clc

%Austin Melnyk
%ECE 301 HW 1.2
%play judas priest song forwards and backwards by flipping the array using
%flipud, a matlab syntax.

[judas, rate, bits_per_sample] = wavread('Jpforward.wav');


wavplay(judas, rate);
%The song is played forward first to show the difference in their lyrics

pause(1)

priest = flipud(judas);
sound(priest, rate);

%The song is then played backwards to reveal a barely audible hidden
%message that may or may not be accidental.

%The forward message sounds just like part of the music, whereas the
%backwards message is probably saying "I gave my life". (probably)

wavwrite(priest, 44100, 'priestbackwards.wav');
%writes the file

Here is the reverse file

Alumni Liaison

Prof. Math. Ohio State and Associate Dean
Outstanding Alumnus Purdue Math 2008

Jeff McNeal