(New page: == Code == == Audio ==)
 
(Audio)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Code ==
 
== Code ==
 +
<pre>
 +
%Miles Whittaker
 +
%ECE301
 +
%HW1.2
  
 +
clear
 +
clc
  
 +
%Open Jpforward
 +
[JPF, sample_size, bits] = wavread('R:\My Documents\Purdue\ECE301\Jpforward.wav');
  
 +
%Normal
 +
wavplay(JPF, sample_size);
 +
 +
%Reverse
 +
JPR = flipud(JPF);
 +
wavplay(JPR, sample_size);
 +
wavwrite(JPR,44100,32,'R:\My Documents\Purdue\ECE301\Jpreverse.wav');
 +
 +
%Reverse slow
 +
wavplay(JPR, sample_size/2);
 +
wavwrite(JPR,44100/2,32,'R:\My Documents\Purdue\ECE301\Jpreverse_slow.wav');
 +
</pre>
 
== Audio ==
 
== Audio ==
 +
 +
Normal
 +
 +
[[Media:Miles_JPforward_ECE301Fall2008mboutin.wav]]
 +
 +
It says "They're here to stay"
 +
 +
Reverse
 +
 +
[[Media:Miles_JPreverse_ECE301Fall2008mboutin.wav]]
 +
 +
Reverse Slow
 +
 +
[[Media:Miles_JPreverse_slow_ECE301Fall2008mboutin.wav]]
 +
 +
In reverse it says "This land is mine"

Latest revision as of 05:02, 5 September 2008

Code

%Miles Whittaker
%ECE301
%HW1.2

clear
clc

%Open Jpforward
[JPF, sample_size, bits] = wavread('R:\My Documents\Purdue\ECE301\Jpforward.wav');

%Normal
wavplay(JPF, sample_size);

%Reverse
JPR = flipud(JPF);
wavplay(JPR, sample_size);
wavwrite(JPR,44100,32,'R:\My Documents\Purdue\ECE301\Jpreverse.wav');

%Reverse slow
wavplay(JPR, sample_size/2);
wavwrite(JPR,44100/2,32,'R:\My Documents\Purdue\ECE301\Jpreverse_slow.wav');

Audio

Normal

Media:Miles_JPforward_ECE301Fall2008mboutin.wav

It says "They're here to stay"

Reverse

Media:Miles_JPreverse_ECE301Fall2008mboutin.wav

Reverse Slow

Media:Miles_JPreverse_slow_ECE301Fall2008mboutin.wav

In reverse it says "This land is mine"

Alumni Liaison

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

Dr. Paul Garrett