Revision as of 09:07, 5 September 2008 by Schmidtw (Talk)

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

I couldn't pick out any lyrics, but here is my code.

William Schmidt
HW1
Part 2

data = wavread('jpforward.wav');

wavplay(data,44100);

l = length(data);


%reverses matrix.  might be wrong in the middle but good enough to hear
%difference
for i = 0:l/2
    dummy = data(i+1);
    data(i+1) = data(l-i);
    data(l-i) = dummy;
end

wavplay(data,44100);

Alumni Liaison

Followed her dream after having raised her family.

Ruth Enoch, PhD Mathematics