On 08/14/2015 01:34 PM, Simon Iten wrote: > hi list, > > i remember there was a discussion a while ago about sliders and numberboxes > controlling the same value. (and the loop that caused problems) > here is my take on it with vanilla objects. it does need some work for every > control, but it does the job! >
when using nbx2 (aka iemgui-numberbox; aka Shift-Ctrl-N), you can simply assign both slider and numberbox the same send *and* receive label. and mix in radio buttons, and whatnot. see attached example gfmards IOhannes
#N canvas 388 276 450 300 10; #X obj 70 94 hsl 128 15 0 8 0 0 \$0-value \$0-value empty -2 -8 0 10 -262144 -1 -1 4987 1; #X obj 221 95 nbx 5 14 0 8 0 0 \$0-value \$0-value empty 0 -8 0 10 -262144 -1 -1 3.14159 256; #X obj 140 118 hradio 15 1 0 8 \$0-value \$0-value empty 0 -8 0 10 -262144 -1 -1 3.14159; #X obj 110 185 r \$0-value; #X obj 110 207 print value; #X obj 95 18 loadbang; #X msg 95 40 3.14159; #X obj 95 62 s \$0-value; #X connect 3 0 4 0; #X connect 5 0 6 0; #X connect 6 0 7 0;
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
