function y = synth_noise; % y=synth_noise - synthesize gaussian noise global sr; % sampling rate D = 0.1; % s - duration ng = 12; % number of random samples to add to approximate gaussian ns = D*sr; y = rand(ng, ns) - .5; y = sum(y);