a = sourceA();
b = sourceB();

size = min(length(a), length(b));
y = zeros(size,2);

for i=1:size
    y(i,1) = a(i,1) + b(i,1);
    y(i,2) = a(i,2) + b(i,2);
end

wavwrite(y, 44100, 'sourcesAandB.wav');

