bool32.rising trigger
frac32.positive envelope output
frac32.s.map d
int32_t val;
int ntrig;
val = 0;
ntrig = 0;
if ((inlet_trig > 0) && !ntrig) {
val = 1 << 27;
ntrig = 1;
} else {
if (!(inlet_trig > 0))
ntrig = 0;
val = ___SMMUL(val, param_d) << 1;
}
outlet_env = val;