Revision as of 04:46, 25 June 2009 by Axavier (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

del = 0.00001;
t1 = 0:del:0.3; %eighth note
t2 = 0:del:0.15; %sixteenth note
t3 = 0:del:.6;  %quarter note
t4 = 0:del:(1/10000);  %a miniscule rest period
y1 = [sin(2*pi*330*t2), sin(2*pi*t4), sin(2*pi*330*t1), sin(2*pi*t4), sin(2*pi*330*t2), sin(2*pi*t2), sin(2*pi*264*t2),sin(2*pi*t4), sin(2*pi*330*t1), sin(2*pi*t4), sin(2*pi*396*t3), sin(2*pi*t2), sin(2*pi*198*t3), sin(2*pi*t2)];  %measure 1
y2 = [sin(2*pi*264*t1), sin(2*pi*t2), sin(2*pi*198*t2), sin(2*pi*t2), sin(2*pi*165*t1), sin(2*pi*t1), sin(2*pi*220*t1), sin(2*pi*t4), sin(2*pi*247.5*t1), sin(2*pi*t4), sin(2*pi*233.08*t1), sin(2*pi*t4), sin(2*pi*220*t1)];  %measure 2
sound(y,1/del);

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett