(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | It sounds like "I took my own life"... | ||
+ | [[Media:jpbackwards_ECE301Fall2008mboutin.wav]] | ||
<pre> | <pre> | ||
%Cory Ocker (cocker@purdue.edu) | %Cory Ocker (cocker@purdue.edu) |
Latest revision as of 11:57, 4 September 2008
It sounds like "I took my own life"... Media:jpbackwards_ECE301Fall2008mboutin.wav
%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