(New page: ==Message== Can't hear very clearly but it goes something something my life. ==MATLAB Code== % Caleb Tan % HW 1.2 % WavRead the File [Jpforward, Fs, nbits] = wavread('Jpforward.wa...)
 
(MATLAB Code)
Line 27: Line 27:
 
% Play it using a slower rate  
 
% Play it using a slower rate  
  
sound(Jpforward, 20000);
+
sound(Jpforward, Fs/2);
 +
 
 +
 
 +
% Write the sound file
 +
 
 +
wavwrite(Jpbackward, Fs/2,'jpbackward.wav');

Revision as of 17:13, 4 September 2008

Message

Can't hear very clearly but it goes something something my life.

MATLAB Code

% Caleb Tan

% HW 1.2


% WavRead the File

[Jpforward, Fs, nbits] = wavread('Jpforward.wav');


% Reverse the matrix using the flipud function

Jpbackward = flipud(Jpforward);


% Play the song backwards at the same speed

sound(Jpforward, Fs);


% Play it using a slower rate

sound(Jpforward, Fs/2);


% Write the sound file

wavwrite(Jpbackward, Fs/2,'jpbackward.wav');

Alumni Liaison

Followed her dream after having raised her family.

Ruth Enoch, PhD Mathematics