i found this similar from your previous reply in case random pulsing, can it applied to this case?
Please help. ☺
Ilya
minHold = 24; // min hold frames
maxHold = 40; // max hold frames
fade = 12; // fade frames
seedRandom(index,true);
t = t0 = 0;
hold1 = minHold;
f = fade*thisComp.frameDuration;
while (t <= time){
hold1 = Math.round(random(minHold,maxHold))*thisComp.frameDuration;
hold2 = Math.round(random(minHold,maxHold))*thisComp.frameDuration;
t0 = t;
t += f*2 + hold1 + hold2;
}
t1 = t0 + f;
t2 = t1 + hold1;
t3 = t2 + f;
if (time < t1)
linear(time,t0,t1,0,100)
else if (time < t2)
100
else if (time < t3)
linear(time,t2,t3,100,0)
else
0;