How can I make a trap or counter that waits for two bangs from two inlets before outputting one bang?
-
Store two bangs
-
a bang on either inlet sends a [1 ( message to a spigot. this allows a bang from the other inlet through to trigger an outlet bang. the outlet bang also resets both spigots to 0.
-
i didn't try this, but it should work. if not, just tweak the logic a bit.
-
There's an association I never expected to be made with Pd.
-
Thanks! I'll test this later. If it works, I'll post the full logic. It's kinda interesting. Sort of an *and* logic gate.
-
You might want to check out [expr] and [>] (boolean) for more fun with logic. What are other libraries for this? I know there are multiplexor objects that frighten me.
Lucider Improvised Funktronic Interface: Ubuntu Studio AMD64 10.04 -rt 2.6.33-4 // Phenom II 3.2x2, 2GB RAM, Asus mobo w/ hyper transport // Elo 15...
-
[onebang] might be useful as well.
-
[onebang2cups]
edit: will i get banned for this?
-
This is a part of the patch I'm writing using the kinect camera. The numbers give X,Y,Z coordinates. the problem is they're in floating point. In order to [select] or [match] I had to convert to integers.