Revision as of 13:41, 4 September 2008 by Apdelanc (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
%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');

Alumni Liaison

Followed her dream after having raised her family.

Ruth Enoch, PhD Mathematics