nw.gateplus~ in gen
Anybody ever made something like nw.gateplus~ from the nathan wolek granular toolkit in gen? I've been racking my brain as to how to this but to no avail. Seems like it would be pretty easy in theory but...
Like a gen patch that waits until the next zero crossing to open the gate :)
What closes the gate? Sorry don't have nw.gateplus~ object here. Here's a guess, below. It will only open or close the gate on a zero crossing. Note the comment inside -- it will hold the value when the gate closes, and this is rarely going to be exactly zero. If you do want zero, change the 2nd latch to a multiply object. (You could even add a tiny smoother to that too, to really eliminate all possible clicks).
Here's one with the smoothing:
Thanks Graham!! Can't wait to try this out tonight I'm sure this will work wonders in stuttering and granular effects that I will use with my OWL hardware :)
Btw a toggle opens and closes the gate when using nw.gateplus~
It works great btw. Now I have to try to adapt your code into a version of selector~ with zero crossing awareness :D :0 :()