MATLAB Code
% Hang Zhang % ECE301 % Homework 1.2 % 9-5-08 % Preparation clear all clc % Read file [sound, sampleRate, bits] = wavread('jpforward.wav'); %play file in forward direction fprintf('Press enter when music stops...\n') wavplay(sound, sampleRate); pause %play file in reverse reverseSound = flipud(sound); fprintf('Press enter when music stops to write to file...\n'); wavplay(reverseSound, sampleRate); pause % Write reversed song to file wavwrite(reverseSound, sampleRate, bits, 'jpreverse.wav'); fprintf('File write complete.\n');
Reverse File
Media:jpreverse_ECE301Fall2008mboutin.wav
My Conclusion
To be real honest, I can't even hear the words of the song played forward. The quality is lacking. When played backwards, I guess it sounds like "IIIIIII cooked myyy wiiiife." Interesting.