(Matlab Code)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Matlab ==
+
==Judas Priest Backwards==
 +
 
 +
[[Media:serekson_jpbackward.wav‎_ECE301Fall2008mboutin]]
 +
 
 +
==Matlab Code==
 
<pre>
 
<pre>
 
%Spencer Erekson
 
%Spencer Erekson
Line 6: Line 10:
  
 
%read in the song from the .wav file
 
%read in the song from the .wav file
data = wavread('Jpforward.wav');
+
[data, Fs, nbits] = wavread('Jpforward.wav');
  
 
%reverse the song
 
%reverse the song
Line 14: Line 18:
 
wavplay(data, 44100);
 
wavplay(data, 44100);
  
 +
%output the file
 +
wavwrite(data, Fs, 'serekson_jpbackward.wav')
  
 
%play the song backwards a little slower
 
%play the song backwards a little slower

Latest revision as of 17:26, 5 September 2008

Judas Priest Backwards

Media:serekson_jpbackward.wav‎_ECE301Fall2008mboutin

Matlab Code

%Spencer Erekson
%ECE 301 Homework 1 Problem 2
%September 4, 2008

%read in the song from the .wav file
[data, Fs, nbits] = wavread('Jpforward.wav');

%reverse the song
data = flipud(data);

%play the song backwards at normal speed
wavplay(data, 44100);

%output the file
wavwrite(data, Fs, 'serekson_jpbackward.wav')

%play the song backwards a little slower
wavplay(data, 32000);

%you can hear him say something like "I took my life"

Alumni Liaison

Sees the importance of signal filtering in medical imaging

Dhruv Lamba, BSEE2010