% call_randomeffectproc

[x,fs] = audioread('OGBK037.wav'); % import audio file
%[x,fs] = audioread('AlligatorGrowls.wav'); 

beats = 16;
 
y = randomeffectproc(x,beats,fs);

sound(y,fs); % play the output file