bool32.rising trig
bool32.pulse bang
int32 first hit index in measure (euclidean sequencer)
int32 length of the measure (euclidean sequencer)
int32 number of hits in the measure (euclidean sequencer)
uint8_t ntrig;
uint8_t counter;
int32_t o;
ntrig = 0;
counter = 0;
o = 0;
o = 0;
if (inlet_trig > 0 && !ntrig) {
ntrig = 1;
o = ((((counter++ + param_rotation) * param_hits) % param_length) <
param_hits);
}
if (!(inlet_trig > 0))
ntrig = 0;
outlet_trig = o;