(New page: Media:jpbackward_drecord.wav %%%HW 1.2: Judas Priest Played Backwards %%% %David Record %September 4th 2008 %Setup clear; clc; %Read Data from File [data, sample_rate, bits_per_samp...)
 
 
Line 1: Line 1:
 
[[Media:jpbackward_drecord_ECE301Fall2008mboutin.wav]]
 
[[Media:jpbackward_drecord_ECE301Fall2008mboutin.wav]]
 
+
<pre>
 
%%%HW 1.2: Judas Priest Played Backwards %%%
 
%%%HW 1.2: Judas Priest Played Backwards %%%
 
%David Record
 
%David Record
Line 28: Line 28:
 
%Create file of reversed song.
 
%Create file of reversed song.
 
wavwrite(reversed,sample_rate,bits_per_sample,'jpbackward.wav');
 
wavwrite(reversed,sample_rate,bits_per_sample,'jpbackward.wav');
 +
</pre>

Latest revision as of 09:59, 5 September 2008

Media:jpbackward_drecord_ECE301Fall2008mboutin.wav

%%%HW 1.2: Judas Priest Played Backwards %%%
%David Record
%September 4th 2008

%Setup
clear;
clc;

%Read Data from File
[data, sample_rate, bits_per_sample] = wavread('jpforward.wav');

%Play Forward
wavplay(data, sample_rate);

%Reverse the song
reversed = flipud(data);

%Play the reversed song
wavplay(reversed, sample_rate);
%He says, "we all have to die"?

%Play slower
wavplay(reversed, sample_rate/1.2);
%doesn't really help...

%Create file of reversed song.
wavwrite(reversed,sample_rate,bits_per_sample,'jpbackward.wav');

Alumni Liaison

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

Dr. Paul Garrett