(New page: <pre> %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 so...) |
|||
Line 1: | Line 1: | ||
+ | == Sound File== | ||
+ | Played Backwards : | ||
+ | == MATLAB Code == | ||
+ | |||
+ | |||
<pre> | <pre> | ||
%Collin Phillips | %Collin Phillips |
Revision as of 15:54, 4 September 2008
Sound File
Played Backwards :
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