phasor~ and signal based sync

Jul 23, 2012 at 8:36pm

phasor~ and signal based sync

Yellow!

I’m looking for a way to reset the phase of a ramp generating oscillator for clocking purposes.
For critical timing, the reset has to be signal based.

To be honest i’m really surprised phasor~ doesn’t have the option for a signal based phase control / reset. (saw~ does, but it’s not suitable for clocking).

Any clues on how to achieve this?

Cheers!

#27337
Jul 23, 2012 at 9:48pm

if 1 ms is ok, maybe “peakamp~ 1″ before phase input?

#82602
Jul 24, 2012 at 1:55am

This requires you to have gen~, but should hopefully do what you need, or at least be a good jumping off point. There’s no phase parameter in this (I was lazy and it’s somewhat of a pain to do with this style of phasor, actually).

Anyway, set your frequency in the left inlet, and any change in input in the right inlet will trigger a reset. I’m using a train~ object to generate pulses, but you could actually get away with noise~ and a sah~ – as long as the right inlet is stationary it won’t trigger a reset.

– Pasted Max Patch, click to expand. –
#82603
Jul 24, 2012 at 8:46am

I posted a solution for this before. It’s here: http://cycling74.com/forums/topic.php?id=37888
Instead of triggering it with a bang you can also generate pulses from other sources with [change] or [delta].

#82604
Jul 24, 2012 at 9:39am

Thanks for the feedback~ folks.

Finally had an excuse to explore gen a bit, thanks for the up MuShoo.

Clever solution Dave! the beauty of simplicity… thanks.

#82605

You must be logged in to reply to this topic.