SR = 22050; N = 1000; period = 1/50;
Offsets = random("uniform",-1,1,[N 1])*(1/50)*.35;
PulseLocs = (1:N)*period;
OffsetPulseLocs = round((PulseLocs' + Offsets)*SR);
Periods = diff(OffsetPulseLocs);
save -ascii "Offsets" Offsets
save -ascii "Periods" Periods
