function output = freqconv(signal1, signal2)
% Convolves two audio signals

lendryspeech = length(signal1);
lensimir = length(signal2);
outputlength = lendryspeech + lensimir - 1; % Matches Duration of IR and Input

output = ifft(fft(signal1, outputlength) .* fft(signal2, outputlength));
%Transforms from time domain to frequency domain where coefficients are
%convoluted. Then inversely transformed back into the time domain
output = output./max(abs(output)); % Normalises Signal
