bool32.risingfalling trigger
frac32.positive envelope output
frac32.s.map.klineartime.exp a
frac32.s.map.klineartime.exp d
int32_t val;
val = 0;
if (inlet_trig > 0) {
int32_t t;
MTOF(-param_a, t);
val += t >> 6;
} else {
int32_t t;
MTOF(-param_d, t);
val -= t >> 6;
}
val = __USAT(val, 27);
outlet_env = val;