% bruit 
%------

%clear all;

Fe = 22050; h = 1/Fe;
f0 = 440; T =  2;
th = 0:h:T;

% amplitude aleatoire, leger filtrage
y = randn(1,length(th));
h = fir1(20,.8);
%y = filter(h,1,y);
plot(th,y);
y = .5*y/(max(abs(y)));
sound(y,Fe);
