(New page: <pre> %Nathan Najdek %00164-10728 %ECE 301 Prof. Boutin %Sep 4, 2008 %Read the Judas Priest song: [data, sample_rate, bits_per_sample] = wavread('\\shay.ecn.purdue.edu\nnajdek\pchome\.pcp...) |
(→Sound Bite) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Sound Bite == | ||
+ | |||
+ | [[Media:Jpforwards_ECE301Fall2008mboutin.wav]] | ||
+ | |||
+ | [[Media:JPreverse_ECE301Fall2008mboutin.wav]] | ||
+ | |||
+ | == Code == | ||
+ | This is the code for forwards and backwards. | ||
+ | |||
<pre> | <pre> | ||
%Nathan Najdek | %Nathan Najdek | ||
Line 21: | Line 30: | ||
wavwrite(JPreverse,sample_rate,bits_per_sample,'\\shay.ecn.purdue.edu\nnajdek\pchome\.pcprefs\Desktop\ECE 301\JPreverse.wav'); | wavwrite(JPreverse,sample_rate,bits_per_sample,'\\shay.ecn.purdue.edu\nnajdek\pchome\.pcprefs\Desktop\ECE 301\JPreverse.wav'); | ||
</pre> | </pre> | ||
+ | |||
+ | == The Message == | ||
+ | |||
+ | Forwards: The song says "beyond the realms of death." | ||
+ | |||
+ | Reverses: The song says "I took my life." |
Latest revision as of 17:11, 4 September 2008
Sound Bite
Media:Jpforwards_ECE301Fall2008mboutin.wav
Media:JPreverse_ECE301Fall2008mboutin.wav
Code
This is the code for forwards and backwards.
%Nathan Najdek %00164-10728 %ECE 301 Prof. Boutin %Sep 4, 2008 %Read the Judas Priest song: [data, sample_rate, bits_per_sample] = wavread('\\shay.ecn.purdue.edu\nnajdek\pchome\.pcprefs\Desktop\ECE 301\Jpforwards.wav'); %Play the data from the .wav file forward: wavplay(data, sample_rate); wavwrite(data,sample_rate,bits_per_sample,'\\shay.ecn.purdue.edu\nnajdek\pchome\.pcprefs\Desktop\ECE 301\Jpforwards.wav'); pause(1); %Reverse the .wav file of Judas Priest: JPreverse = flipud(data); wavplay(JPreverse, sample_rate); %Save a wav file: wavwrite(JPreverse,sample_rate,bits_per_sample,'\\shay.ecn.purdue.edu\nnajdek\pchome\.pcprefs\Desktop\ECE 301\JPreverse.wav');
The Message
Forwards: The song says "beyond the realms of death."
Reverses: The song says "I took my life."