[PD] 'synced' number and slider
Jonathan Wilkes
jancsika at yahoo.com
Sun Jan 17 19:38:26 CET 2010
--- On Sun, 1/17/10, zmoelnig at iem.at <zmoelnig at iem.at> wrote:
> From: zmoelnig at iem.at <zmoelnig at iem.at>
> Subject: Re: [PD] 'synced' number and slider
> To: pd-list at iem.at
> Date: Sunday, January 17, 2010, 7:17 PM
> Quoting "Jonathan Wilkes" <jancsika at yahoo.com>:
>
> > I attached a modified version of your patch to show
> what I mean. On the
> > right, you can look at the patch and figure out the
> behavior before you
> > scroll the gatom box (important if you want to make
> sure you're avoiding
> > a buffer overflow).
> >
> > On the left, you have to read the source code for
> those GUI objects to
> > figure out what's going to happen. Judging from
> your original patch,
> > I think you assumed that sending a float straight to
> the [nbx] would
> > update the value in the slider (so did I). This
> turns out not to be the
> > case: the two GUIs are only bound together if you
> change the values on one
> > of them using the mouse.
>
> that's by intention.
> if you want to set the values from outside, use [s
> <samereceivename>]
If I just set the same receive-symbol for both GUIs and use a
single [s same-receive-symbol] coming from the [nbx], I get a bunch of
console messages:
error: stack overflow
-Jonathan
>
>
> mfddg
> IOhannes
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging
> Program.
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Pd-list at iem.at
> mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list