[PD] // slider state detection //

Jordan J buck at defaced.net
Sat Apr 5 03:55:15 CEST 2003


Will this do what you want it to?

#N canvas 239 277 1261 916 12;
#X obj 71 122 spigot;
#X obj 71 101 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 71 148 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 136 149 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 71 -38 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
-1 -1 6300 1;
#X msg 27 -33 0;
#X msg 93 -33 50;
#X obj 169 95 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
10 -262144 -1 -1 571 256;
#X text 168 75 threshold - if no activity for x seconds \, reopen the
spigot;
#X obj 136 122 del 200;
#X msg 138 197 1;
#X obj 171 196 -;
#X obj 171 228 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 137 175 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 142 254 1 if active \, 0 if not;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 0 9 0;
#X connect 3 0 0 1;
#X connect 3 0 11 1;
#X connect 3 0 13 0;
#X connect 4 0 1 0;
#X connect 5 0 4 0;
#X connect 6 0 4 0;
#X connect 7 0 9 1;
#X connect 9 0 3 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 13 0 10 0;








----- Original Message -----
From: "delire" <delire at selectparks.net>
To: <pd-list at iem.kug.ac.at>
Sent: Friday, April 04, 2003 6:33 AM
Subject: [PD] // slider state detection //


> is there an elegant way to detect slider state [active / inactive]? i need
to know the moment a slider becomes active, this then registers a single
bang and doesn't care about slider activity from this point until the slider
becomes inactive. at that point the slider also bangs [i have this part
worked out].
>
> i'm don't want to use mousestate as slider control is via a ctlin.
>
> //-->
>
> nick -> delire
> home -> http://selectparks.net
> key ->  http://selectparks.net/jkey.txt
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>





More information about the Pd-list mailing list