bool32.rising trigger
frac32.positive rand
uint32_t val;
int ntrig;
val = (int32_t)(GenerateRandomNumber()) >> 4;
ntrig = 0;
if ((inlet_trig > 0) && !ntrig) {
val = (uint32_t)(GenerateRandomNumber()) >> 5;
ntrig = 1;
} else if (!(inlet_trig > 0))
ntrig = 0;
outlet_rand = val;