[insig, fs] = audioread('JC120_MonoDry.wav'); % Wave file input.
%[insig, fs] = audioread('Guitar_Riff1.wav'); % Wave file input.
delay = 12; %integer between 5-20 recomended
depth1 = 2; %deviation from intial delay in ms (1 - 8 recommended)
rate1 = .7; %LFO rate in Hz (0.2 - 8 recommended)

outsig_stereo = Stereo_Chorus(insig, fs, delay, depth1, rate1); % Function call.

sound(outsig_stereo, fs); % Play sound


audiowrite('JC120_StereoEmu2.wav',outsig_stereo,fs);