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

Revision as of 13:00, 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]:
wavplay(y,Fs/2,'async')

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

Media:Newjudaspriest_ECE301Fall2008mboutin.wav

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang