Line 1: Line 1:
 
== Code ==
 
== Code ==
 
 
<pre>
 
<pre>
 
%Miles Whittaker
 
%Miles Whittaker
Line 24: Line 23:
 
wavwrite(JPR,44100/2,32,'R:\My Documents\Purdue\ECE301\Jpreverse_slow.wav');
 
wavwrite(JPR,44100/2,32,'R:\My Documents\Purdue\ECE301\Jpreverse_slow.wav');
 
</pre>
 
</pre>
 
 
== Audio ==
 
== Audio ==

Revision as of 03:28, 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

Alumni Liaison

Followed her dream after having raised her family.

Ruth Enoch, PhD Mathematics