(New page: %ECE301 homework %Wendell Mendonce delta = 0.00005; bps = 112/60; %Normal HN = 0:delta:2/bps; QN = 0:delta:1/bps; EN = 0:delta:1/(2*bps); DQN = 0:delta:3/(2*bps); GQ = sin(2*pi*2^((-2)...)
 
Line 1: Line 1:
%ECE301 homework
+
ECE301 homework
 
%Wendell Mendonce
 
%Wendell Mendonce
  
Line 57: Line 57:
 
wavwrite(pitch,1/delta,'smoke_pitch')
 
wavwrite(pitch,1/delta,'smoke_pitch')
 
pause(8)
 
pause(8)
 +
 +
 +
[https://www.projectrhea.org/rhea/index.php/Image:Smoke_fast.wav]%

Revision as of 12:54, 19 January 2011

ECE301 homework %Wendell Mendonce

delta = 0.00005;

bps = 112/60;

%Normal HN = 0:delta:2/bps; QN = 0:delta:1/bps; EN = 0:delta:1/(2*bps); DQN = 0:delta:3/(2*bps);

GQ = sin(2*pi*2^((-2)/12)*440*QN); BflatQ = sin(2*pi*2^((1)/12)*440*QN); CDQ = sin(2*pi*2^((3)/12)*440*DQN); CH = sin(2*pi*2^((3)/12)*440*HN); DflatE = sin(2*pi*2^((4)/12)*440*EN);

normal = [GQ,BflatQ,CDQ,GQ,BflatQ,DflatE,CH,GQ,BflatQ,CDQ,BflatQ,GQ]; sound(normal,1/delta) wavwrite(normal,1/delta,'smoke_normal') pause(8)

%SpeedX2

HN_q = 0:delta:(2/bps)*0.5; QN_q = 0:delta:(1/bps)*0.5; EN_q = 0:delta:(1/(2*bps))*0.5; DQN_q = 0:delta:(3/(2*bps))*0.5;

GQ = sin(2*pi*2^((-2)/12)*440*QN*2); BflatQ = sin(2*pi*2^((1)/12)*440*QN*2); CDQ = sin(2*pi*2^((3)/12)*440*DQN*2); CH = sin(2*pi*2^((3)/12)*440*HN*2); DflatE = sin(2*pi*2^((4)/12)*440*EN*2);

fast = [GQ,BflatQ,CDQ,GQ,BflatQ,DflatE,CH,GQ,BflatQ,CDQ,BflatQ,GQ]; sound(fast,1/delta) wavwrite(fast,1/delta,'smoke_fast') pause(8)

%Pitch HN = 0:delta:2/bps; QN = 0:delta:1/bps; EN = 0:delta:1/(2*bps); DQN = 0:delta:3/(2*bps);

GQ = sin(2*2*pi*2^((-2)/12)*440*QN); BflatQ = sin(2*2*pi*2^((1)/12)*440*QN); CDQ = sin(2*2*pi*2^((3)/12)*440*DQN); CH = sin(2*2*pi*2^((3)/12)*440*HN); DflatE = sin(2*2*pi*2^((4)/12)*440*EN);

pitch = [GQ,BflatQ,CDQ,GQ,BflatQ,DflatE,CH,GQ,BflatQ,CDQ,BflatQ,GQ]; sound(pitch,1/delta) wavwrite(pitch,1/delta,'smoke_pitch') pause(8)


[1]%

Alumni Liaison

Ph.D. on Applied Mathematics in Aug 2007. Involved on applications of image super-resolution to electron microscopy

Francisco Blanco-Silva