Line 14: Line 14:
 
wavwrite(y,Fs/2,'Newjudaspriest');
 
wavwrite(y,Fs/2,'Newjudaspriest');
 
</pre>
 
</pre>
[[Newjudaspriest_ECE301Fall2008mboutin.wav]]
+
[[Media:Newjudaspriest_ECE301Fall2008mboutin.wav]]

Revision as of 13:59, 4 September 2008

%Adrian Delancy part 2 of Hw1
clear all
%Reading in the song to a vector
[x,Fs,nbits]=wavread('jpforward.wav');
wavplay(x,Fs,'async')
%Reversing the song changing x[n] to x[-n]
y=flipud(x);
wavplay(y,Fs,'async')

%Changin signal to x[-0.5n] which effectivley means half the sample rate
wavplay(y,Fs/2,'async')

wavwrite(y,Fs/2,'Newjudaspriest');

Media:Newjudaspriest_ECE301Fall2008mboutin.wav

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood