Buscar

Practica3Tecla2

Prévia do material em texto

fmax= 1633;
ts =1e-5;
t= 0:ts:10e3/fmax;
Fs= 48.1e3;
Tecla 2
f1= 1336;
f2= 697;
y1=2*sin(2*pi*f1*t);
y2=2*sin(2*pi*f2*t);
y= y1+y2;
plot(t, y)
hold on
plot(t, y1, 'b')
plot(t, y2, 'g')
xlim([0.0000 4/f1])
sound (y, Fs)
1

Continue navegando