Encapsulation of the SSC example - "Basic Hard Sync Oscillator on zero crossings of signal at the hard sync input"
Encapsulated by NeverEngineLabs - Source code by SSC https://kyma.symbolicsound.com/qa/5606/what-the-best-way-reset-phase-oscillator-with-sample-accuracy
added a gainWrap to shift the octave