Understood. I'll try to see if I can get any farther along on my own and will take a look at the OC code as well.mxmxmx wrote: sure, why not. quick look suggests it would have to look slightly more complicated, because division and multiplication are handled somewhat differently. (also integer math would be preferable to using floats, there's no FPU on this chip.) fwiw / alternatively, there's some trigger delay functionality in the OC code, which probably could be adapted. i'm fairly busy with real work atm, so can't do much about this right now.