(Sound Files)
(Matlab Code)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Sound Files ==
+
== Sound Files and Lyrics ==
== Lyrics ==
+
[[Media:Jp.wav _ECE301Fall2008mboutin| Original]].
 +
[[Media:Jpreverse.wav _ECE301Fall2008mboutin| Reverse]].
 +
[[Media:Jpreverseslow.wav _ECE301Fall2008mboutin| Reverse Slow]].
 +
 
 +
In the reverse version he appears to say "This life of mine".  In the half speed reverse version you can make a the words "Take this life of mine".
  
 
== Matlab Code ==
 
== Matlab Code ==
 +
<pre>
 +
%Paul Scheffler
 +
%phscheff@purdue.edu
 +
%ECE 301 HW1-1.m
 +
 +
clear
 +
clc
 +
 +
%Open the provided file
 +
[data,fs,nbits]=wavread('jpforward.wav');
 +
 +
%Play the file
 +
fprintf('Playing original')
 +
wavplay(data,fs);
 +
 +
%Reverse the file
 +
rdata=flipud(data);
 +
 +
fprintf('Playing reverse');
 +
wavplay(rdata,fs);
 +
wavwrite(rdata,fs,nbits,'jpreverse.wav');
 +
 +
%Slow it down down down down down(YEAH! you push it.)
 +
fprintf('Playing reverse + slow');
 +
wavwrite(rdata,fs/2,nbits,'jpreverseslow.wav');
 +
wavplay(rdata,fs/2);
 +
</pre>

Latest revision as of 13:57, 4 September 2008

Sound Files and Lyrics

Original. Reverse. Reverse Slow.

In the reverse version he appears to say "This life of mine". In the half speed reverse version you can make a the words "Take this life of mine".

Matlab Code

%Paul Scheffler
%phscheff@purdue.edu
%ECE 301 HW1-1.m

clear
clc

%Open the provided file
[data,fs,nbits]=wavread('jpforward.wav');

%Play the file
fprintf('Playing original')
wavplay(data,fs);

%Reverse the file
rdata=flipud(data);

fprintf('Playing reverse');
wavplay(rdata,fs);
wavwrite(rdata,fs,nbits,'jpreverse.wav');

%Slow it down down down down down(YEAH! you push it.)
fprintf('Playing reverse + slow');
wavwrite(rdata,fs/2,nbits,'jpreverseslow.wav');
wavplay(rdata,fs/2);

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett