Revision as of 14:21, 4 September 2008 by Smitheb (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

%Inputing wave file reversing and sending back out

[input,w,bit]=wavread('jpforward.wav'); %inputs wave

backwards = flipud(input);  %writes the reverse data into a new vector

wavplay(input,w)
wavplay(backwards,w)                    %playing reversed wav
wavplay(backwards,w*0.5)                %playing reversed wav at half speed 
wavwrite(backwards,w,bit,'Backwards.wav');      %making the reversed vector data a wave file
wavwrite(backwards,w*0.5,bit,'halfBackwards.wav'); %"    "  half  " " ect..

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood