[sound1 fs] = wavread


slapback = fircomb(sound1, 50, 0.8, fs);%slapback script with variables
%delaytime in ms should be between 25-50ms
sound(slapback, fs)



resonator = iircomb(sound1, 15, 0.5, fs);%resonator script with variables
%delaytime in ms should be between 0-20ms
sound(resonator, fs);


echo = fircomb(sound1, 100, 0.7, fs);%echo script with variables
%delaytime in ms should be greater than 50ms
sound(echo,fs);