(HW1.4 Xiaodian Xie_ECE301Summer2009)
 
 
Line 1: Line 1:
del = 0.00001;
+
'''del = 0.00001;
 +
 
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*330*t);
 
y = sin(2*pi*330*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%E
 
%E
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*330*t);
 
y = sin(2*pi*330*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%E
 
%E
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 
y = sin(2*pi*330*t);
 
y = sin(2*pi*330*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%E
 
%E
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*396*t);
 
y = sin(2*pi*396*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%G
 
%G
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*264*t);
 
y = sin(2*pi*264*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%C
 
%C
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*330*t);
 
y = sin(2*pi*330*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%E
 
%E
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*396*t);
 
y = sin(2*pi*396*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%G
 
%G
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*264*t);
 
y = sin(2*pi*264*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%C
 
%C
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*198*t);
 
y = sin(2*pi*198*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%G lower
 
%G lower
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*165*t);
 
y = sin(2*pi*165*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%E lower
 
%E lower
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*220*t);
 
y = sin(2*pi*220*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%A lower
 
%A lower
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi* 247.5*t);
 
y = sin(2*pi* 247.5*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%B lower
 
%B lower
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*233.75*t);
 
y = sin(2*pi*233.75*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
 +
 
%A# lower
 
%A# lower
 +
 +
 
del = 0.00001;
 
del = 0.00001;
 +
 
t = 0:del:1;
 
t = 0:del:1;
 +
 
y = sin(2*pi*220*t);
 
y = sin(2*pi*220*t);
 +
 
sound(y,1/del);
 
sound(y,1/del);
%A lower
+
 
 +
%A lower'''

Latest revision as of 15:36, 24 June 2009

del = 0.00001;

t = 0:del:1;

y = sin(2*pi*330*t);

sound(y,1/del);

%E


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*330*t);

sound(y,1/del);

%E


del = 0.00001;

t = 0:del:1; y = sin(2*pi*330*t);

sound(y,1/del);

%E


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*396*t);

sound(y,1/del);

%G


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*264*t);

sound(y,1/del);

%C


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*330*t);

sound(y,1/del);

%E


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*396*t);

sound(y,1/del);

%G


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*264*t);

sound(y,1/del);

%C


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*198*t);

sound(y,1/del);

%G lower


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*165*t);

sound(y,1/del);

%E lower


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*220*t);

sound(y,1/del);

%A lower


del = 0.00001;

t = 0:del:1;

y = sin(2*pi* 247.5*t);

sound(y,1/del);

%B lower


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*233.75*t);

sound(y,1/del);

%A# lower


del = 0.00001;

t = 0:del:1;

y = sin(2*pi*220*t);

sound(y,1/del);

%A lower

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood