Revision as of 12:55, 4 September 2008 by Cocker (Talk)

%Cory Ocker (cocker@purdue.edu)
%9/5/08 HW1
%EE301 MWF 4:30
clear;
clc;


jp='./jpforward.wav'; %call file
[forward,sample_rate,bits_per_sample]=wavread(jp); %reads the file 
backward=flipud(forward); %flips the file
slowspeed=sample_rate/1.7; %used to slowdown the sound in reverse
wavplay(forward,sample_rate); %plays the file forward
wavplay(backward,slowspeed); %plays the file backwards
wavwrite(backward,slowspeed,'jpbackwards.wav'); %writes the file as a wav

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood