Oscillator Hard Sync in Gen~

phelankane's icon

Hiya Peeps

First up thanks for everybody / anybodies contributions to this forum. Its been extremely helpful and I have learnt a lot from this place.

I am currently struggling to get two Gen~ oscillators working in Hard Sync mode. I am basically trying to replicate the Sync input features of the standard MSP~ oscillator objects.

If anyone can help it'll be much appreciated!

Patch attached.

Best wishes

Gen-Osc-Sync.zip
zip
👽'tW∆s ∆lienz👽's icon

In your patch rect~ and saw~ are reset whenever master phasor starts a new-cycle.

You can do this easily in your gen~ patches: connect [in2] -> [delta] -> [< 0] -> (right-inlet-of)[phasor]

Then outside the gen~ patchers, connect up the master phasor to the right inlet of the gen~ patchers(same as you do with saw~ and rect~).

phelankane's icon

Thank you so much Raja. Works perfectly. Makes obvious sense!

Best wishes.

Adge Li's icon

Great answer!