Re: [PD] recursive controls problem
thanks to all for your responses... very helpful! i've implemented a solution based on lorenzo's suggestion, and it works just fine! one further question: since my slider is in a gui panel for the patch, with all the other code buried in subpatches, is there a way to get the slider's send to float out of view (other than just sticking it under the slider!)? thanks again... cheers! .pltk. On 2014-05-09 07:22, Lorenzo Sutton wrote: On 09/05/2014 07:24, plutek infinity wrote: [...] i'm trying to control one numerical value in a few ways: 1. have a bang to set an initial value 2. have a slider for mouse control 3. use keyboard keys to increment and decrement [...] the problem is, of course, that if i connect the expr result back up to the slider input, i get a loop with stack overflow errors. See attached. This indeed uses the IEM gui'trick' where if you set all sends and receive to the same name in the properties they will be in sync. Please disregard my previous message about crashing.. (I was erroneously using a vanilla numberbox instead of the Number2 (IEM gui) one). Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] recursive controls problem
thanks, max! right, so it looks like this needs to be the summer of pd tutorials! :) cheers! .pltk. On 2014-05-10 11:40, Max wrote: On 2014? 05? 10? 23:56, plutek infinity wrote: since my slider is in a gui panel for the patch, with all the other code buried in subpatches, is there a way to get the slider's send to float out of view (other than just sticking it under the slider!)? by turning it into an abstraction using Graph on parent (GOP) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] recursive controls problem
...which makes me wonder: besides all the various tutorials, is there a comprehensive online course about pd that one can work through? cheers! .pltk. On 2014-05-10 11:58, plutek infinity wrote: thanks, max! right, so it looks like this needs to be the summer of pd tutorials! :) cheers! .pltk. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] recursive controls problem
greetings! i'm sure this is a simple problem, but i can't seem to come up with the solution... i'm trying to control one numerical value in a few ways: 1. have a bang to set an initial value 2. have a slider for mouse control 3. use keyboard keys to increment and decrement the attached patch all works, except i ALSO want the slider position to pick up the current value, as changed by any of the other methods. the problem is, of course, that if i connect the expr result back up to the slider input, i get a loop with stack overflow errors. i'd be most grateful for any pointers you can offer... thanks much! cheers! .pltk. #N canvas 0 29 958 1049 10; #X obj 54 95 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 55 117 0.9; #X obj 251 122 key; #X obj 251 144 select 113; #X obj 125 330 expr $f1+$f2; #X msg 251 167 0.05; #X floatatom 125 352 5 0 0 0 - - -, f 5; #X obj 89 69 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 1000 1; #X obj 211 183 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 150 297 float; #X obj 369 116 key; #X obj 333 178 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 369 138 select 97; #X msg 369 161 -0.05; #X msg 184 134 0; #X connect 0 0 1 0; #X connect 0 0 14 0; #X connect 1 0 9 0; #X connect 2 0 3 0; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 4 0 9 1; #X connect 5 0 4 1; #X connect 5 0 8 0; #X connect 7 0 9 0; #X connect 7 0 14 0; #X connect 8 0 9 0; #X connect 9 0 4 0; #X connect 10 0 12 0; #X connect 11 0 9 0; #X connect 12 0 13 0; #X connect 13 0 11 0; #X connect 13 0 4 1; #X connect 14 0 4 1; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list