bool32.risingfalling start counting,output the time interval
int32 time interval in samples/ 48 khz
int32_t trigstart;
int32_t trigstop;
int tc;
trigstart = 0;
trigstop = 0;
tc = 0;
if ((inlet_toggle) && !trigstart) {
tc = 0;
trigstart = 1;
} else if (!(inlet_toggle)) {
trigstart = 0;
outlet_t = tc << 4;
}
if (trigstart) {
tc == tc++;
outlet_t = 0;
}