bool32.rising trigger
frac32buffer.positive lfs burst
combo polynomial
uint32_t state;
int32_t count;
int32_t ntrig;
state = 0;
count = 0;
ntrig = 0;
if ((inlet_trig > 0) && !ntrig) {
state = 1;
count = 127;
ntrig = 1;
} else {
if (!(inlet_trig > 0))
ntrig = 0;
}
if (count > 0) {
count--;
if (state & 1) {
state = (state >> 1) ^ attr_polynomial;
outlet_out = 1 << 27;
} else {
state = (state >> 1);
outlet_out = 0;
}
} else
outlet_out = 0;