cyclone has a Max/MSP compatible [gate] which in my opinion is much more useful than the IEMlib [gate], which is just a different version of [spigot]. The cyclone [gate] allows you to choose between a number of outlets.
.hc
On Wednesday, Apr 14, 2004, at 18:10 America/New_York, derek holzer wrote:
derek holzer wrote:
is there any object that would take the first message and ignore the rest
The problem is to "debounce" your stream of numbers. Try this.
Sorry, was missing one thing here....
Try this one instead. I can't remember what lib [gate] comes from, maybe zexy?
d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 175: "What are the sections sections of? Imagine a caterpillar moving" #N canvas 110 102 1010 706 12; #X obj 119 129 spigot; #X obj 119 108 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 119 155 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 185 156 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 217 102 nbx 5 14 0 5000 0 1 empty empty empty 0 -6 0 10 -262144 -1 -1 152.02 256; #X text 216 82 threshold - if no activity for x seconds , reopen the spigot; #X obj 185 129 del 200; #X msg 185 204 1; #X obj 218 203 -; #X obj 185 182 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 249 203 1 if active , 0 if not; #X obj 86 77 inlet; #X obj 119 334 outlet; #X obj 218 235 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 119 305 gate 0; #X connect 0 0 2 0; #X connect 1 0 0 0; #X connect 2 0 3 0; #X connect 2 0 6 0; #X connect 3 0 0 1; #X connect 3 0 8 1; #X connect 3 0 9 0; #X connect 4 0 6 1; #X connect 6 0 3 0; #X connect 7 0 8 0; #X connect 8 0 13 0; #X connect 9 0 7 0; #X connect 11 0 1 0; #X connect 11 0 14 0; #X connect 13 0 14 1; #X connect 14 0 12 0;
http://at.or.at/hans/