function y = synth_ripple_plus(T); % y=synth_ripple_plus - synthesize rippled noise with + sign global sr; % sampling rate y = synth_noise; yy = cat(2, synth_noise, y); offset = size(y, 2) - T * sr; y = y + yy(offset+1:offset+size(y, 2));