(Sounds of Purdue)
(Sounds of Purdue)
Line 47: Line 47:
  
 
== Sounds of Purdue ==
 
== Sounds of Purdue ==
 
[[Media:PUnormal_ECE301Fall2008mboutin.wav]]
 
 
[[Media:PU2fast_ECE301Fall2008mboutin.wav]]
 
 
[[Media:PU2high_ECE301Fall2008mboutin.wav]]
 

Revision as of 16:11, 4 September 2008

%Nathan Najdek
%00164-10728
%ECE 301 Prof. Boutin
%Sep. 4, 2008

%Frequencies of the notes played in the first part of song.
A = 220;
B = 246.94;
Db = 277.18;
D = 293.66;
E = 329.62;
F = 349.22;
Gb = 369.99;
G = 391.99;
del = .0005;

%Chrous notes for first part of Purdue Fight song
PU_song = [A, B, Db, D, E, Gb, Gb, G, G, G, D, E, F, Gb]; 

%First part of Purdue Fight Sont
stop = 0.4;
t = [0:del:stop];
for i = 1:length(PU_song)
  lyric = sin(2*pi*t*PU_song(i));
  sound(lyric, 1/del);
end

pause(1);
%Fight Song played twice as fast
stop = stop/2;
t = 0:del:stop;
for i = 1:length(PU_song)
  lyric = sin(2*pi*t*PU_song(i));
  sound(lyric, 1/del);
end

pause(1);
%Fight Song with twice as high pitch
stop = 0.4;
t = 0:del:stop;
for i = 1:length(PU_song)
  lyric = sin(4*pi* t*PU_song(i));
  sound(lyric, 1/del);
end

Sounds of Purdue

Alumni Liaison

Prof. Math. Ohio State and Associate Dean
Outstanding Alumnus Purdue Math 2008

Jeff McNeal