(Matlab File)
(Matlab File)
Line 19: Line 19:
 
wavplay(reversed_data, 0.5*44100);
 
wavplay(reversed_data, 0.5*44100);
 
</pre>
 
</pre>
 +
 +
 +
I really can't catch what the singer says, even when I try reverse the extract. However, in the reversed extract, my best guess would be that the singer says "just free your mind".

Revision as of 17:59, 4 September 2008

Matlab File

%Bavorndej Chanyasak
%ECE 301 hw 1.2
clear
clc
%read and play the extract
data = wavread('jpforward.wav');
wavplay(data, 44100);
%reverse the 'data' of the extract
reversed = flipud(data);
%put the new data into a file
wavwrite(reversed, 44100, 32, 'jpbackward.wav');
%read and play the new file
reversed_data = wavread('jpbackward.wav');
wavplay(reversed_data, 44100);
%play the new file, but with half the speed
wavplay(reversed_data, 0.5*44100);


I really can't catch what the singer says, even when I try reverse the extract. However, in the reversed extract, my best guess would be that the singer says "just free your mind".

Alumni Liaison

EISL lab graduate

Mu Qiao