(New page: ==MATLAB== <pre> %Justin Kietzman %jkkietzm@purdue.edu %Hidden Messages %Please store the jpforward.wav in your current working directory %Clear all variables and workspace clc clear %U...)
 
(MATLAB)
 
Line 36: Line 36:
 
wavwrite(JPbackwards, 1/slow, 32, 'hw1_2JPbackwards.wav');  
 
wavwrite(JPbackwards, 1/slow, 32, 'hw1_2JPbackwards.wav');  
 
</pre>
 
</pre>
[[Media:hw1.2JPSlowBackwards_ECE301Fall2008mboutin]]
+
[[Media:hw1.2JPSlowBackwards_ECE301Fall2008mboutin.wav]]

Latest revision as of 12:41, 4 September 2008

MATLAB

%Justin Kietzman
%jkkietzm@purdue.edu
%Hidden Messages

%Please store the jpforward.wav in your current working directory

%Clear all variables and workspace
clc
clear

%Useful Information
FILE = 'jpforward.wav';
delta = 44100; %Given to us in Tips sheet


%use wavread to read jpforward file
%JP = wavread('c:\path\to\file\filename.wav');

JP = wavread(FILE);
JPbackwards = flipud(JP);

%Play extracted Song
%I have no idea what he is actually saying
%wavplay(JP, delta);

fprintf('Replay the Song Backwards!');
%Commented Out line to listen to other versions
%wavplay(JPbackwards, delta);

slow = delta*.5;
%Slow it Down
wavplay(JPbackwards, slow);
%"It's my voice" ?? Extracted message
wavwrite(JPbackwards, 1/slow, 32, 'hw1_2JPbackwards.wav'); 

Media:hw1.2JPSlowBackwards_ECE301Fall2008mboutin.wav

Alumni Liaison

Followed her dream after having raised her family.

Ruth Enoch, PhD Mathematics