bool32.rising trigger
bool32 pulse output
frac32.u.map length
uint32_t val;
int ntrig;
uint32_t timer;
val = 0;
ntrig = 0;
val += 1;
if ((inlet_trig > 0) && !ntrig) {
ntrig = 1;
timer = val;
val = 0;
} else if (!(inlet_trig > 0)) {
ntrig = 0;
}
outlet_out = (val < (___SMMUL(param_length << 3, timer << 2))) || (val < 1);