Line 1: Line 1:
 
== Sound File==
 
== Sound File==
Played Backwards :  
+
Played Backwards : http://kiwi.ecn.purdue.edu/ECE301Fall2008mboutin/index.php/Image:Jpbackrward.wav
 +
 
 +
 
 
== MATLAB Code ==
 
== MATLAB Code ==
  

Revision as of 16:57, 4 September 2008

Sound File

Played Backwards : http://kiwi.ecn.purdue.edu/ECE301Fall2008mboutin/index.php/Image:Jpbackrward.wav


MATLAB Code

%Collin Phillips
clear;
clc;


songnorm='./jpforward.wav'; %calls file
[fw,rate,bps]=wavread(songnorm); %reads  file 
bw=flipud(fw); %flips the file
slow=rate/1.7; %slows down the song
wavplay(fw,rate); %plays song forwards
wavplay(bw,slow); %plays song backwards
wavwrite(bw,slow,'jpbackwards.wav'); %writes the file as a wav

Alumni Liaison

EISL lab graduate

Mu Qiao