% tests de reverberation
%-----------------------

Fe = 22050;
f = 233; t = 3;

x = cloche(f,t,Fe);
x = [x,x];
disp('cloche sans reverb');
sound(x,Fe); pause(length(y)/Fe)

y = reverb(x,8,2,Fe);
z = reverb2(x,4,10,Fe);
disp('cloche avec reverb version 1');
sound(y,Fe); pause(length(y)/Fe)
figure(1); plot(y);

disp('cloche avec reverb version 2');
sound(z,Fe); pause(length(y)/Fe)
figure(2); plot(z);
