function output = rearrange(signal,final)

fs = 44100;

max = length(final);
looping = length(signal);

%[delayed_output, extra_samples] = delay (signal, time);

for i = 1:looping
%     if max == 0
%         final(i) = signal(i);
%     else
        final(max+i) = signal(i);
%     end
end

output = final;
