[PD] recursive controls problem

Jonathan Wilkes jancsika at yahoo.com
Fri May 9 08:01:52 CEST 2014

I took a stab at it.

The main item here is the [set $1( message.  That allows you to update the display/state of the slider without outputting a value.

The [trigger a a] isn't needed for the patch to run correctly, but it makes it easier to see the connection that feeds back up the chain.


On Friday, May 9, 2014 1:33 AM, plutek infinity <plutek at infinity.net> wrote:

i'm sure this is a simple problem, but i can't seem to come up with the 

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!


Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140508/e3874977/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi-control_test_rev.pd
Type: application/octet-stream
Size: 1881 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140508/e3874977/attachment-0001.obj>

More information about the Pd-list mailing list