IO Variants: 2
Variant: 1
int32 in
bool32 trigger pulse
frac32.u.map.klineartime.reverse d
int ptrig;
int32_t pval;
ptrig = 0;
pval = 0;
if ((pval != inlet_in) & (!ptrig)) {
outlet_trig = 1;
pval = inlet_in;
ptrig = 1 << 27;
} else {
if (ptrig > 0) {
ptrig -= param_d >> 7;
} else
ptrig = 0;
outlet_trig = 0;
}
Variant: 2
frac32 in
bool32 trigger pulse
frac32.u.map.klineartime.reverse d
int ptrig;
int32_t pval;
ptrig = 0;
pval = 0;
if ((pval != inlet_in) & (!ptrig)) {
outlet_trig = 1;
pval = inlet_in;
ptrig = 1 << 27;
} else {
if (ptrig > 0) {
ptrig -= param_d >> 7;
} else
ptrig = 0;
outlet_trig = 0;
}