sorry, I don’t quite follow this…
you are saying you want to reset phase, when there is a gate?
tl;dr; LFO sync is an audio sync, not a reset … so uses a zero crossing, not a trig to ‘reset’
more detail, so, I checked the code…
(it was quicker than setting up my SSP for a test, and I wanted to make sure there weren’t any bugs!)
and indeed, this reflects my expectation…
sync uses a zero crossing zero (positive) ‘trigger’, i.e. going < 0 to > 0
so won’t work with a trig/gate, since that assume a 0 to 1 transition (usually I do at around 0.2-0.5)
why? because sync signals on oscillators, primary intention is an audio rate sync across oscillators i.e. to sync two oscillators - so the LFO behaviour is 100% correct.
how can use with a trig/gate?
simple - use an offset on the input (or gate output) of -0.5, this will shift its range to -0.5 to 0.5,
giving you the zero crossing that you need to ‘reset phase’ on the oscillator.