[PD] 'synced' number and slider

Rich E rich.eakin at gmail.com
Sat Jan 16 20:38:08 CET 2010


You can still send the set message directly to the inlet of the numberbox2
or slider and it won't effect the other.  See patch.

2010/1/16 Jonathan Wilkes <jancsika at yahoo.com>

>
>
> --- On Sat, 1/16/10, IOhannes zmölnig <zmoelnig at iem.at> wrote:
>
> > From: IOhannes zmölnig <zmoelnig at iem.at>
> > Subject: Re: [PD] 'synced' number and slider
> > To: "Lorenzo" <lsutton at libero.it>
> > Cc: pd-list at iem.at
> > Date: Saturday, January 16, 2010, 11:36 AM
> > Lorenzo wrote:
> > > This seems trivial but I've never managed to figure
> > out how to do it in
> > > a non-trivial way:
> > >
> > > Have a number (atom) and a slider (be it horizontal or
> > vertical) which
> > > are 'synced', that is if one changes the number the
> > slider changes and
> > > vice-versa.
> >
> >
> > if you use numberbox2 as the numberbox, you can give both
> > the nbx and
> > the slider the same send/receive names
> > (that is:
> >
> numberbox2.sendname=numberbox2.receivename=slider.sendname=slider.receivename)
> >
> > and they will be magically linked to each other.
> >
> > to use the value in the patch add another receiver
> > [r <samereceivename>]
> >
>
> Except if you need to send a value to the inlet of the numbox2 or the
> slider.  Then this method magically doesn't work, whereas the [set $1(
> idiom does.
>
> > gfmadr
> > IOhannes
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Pd-list at iem.at
> > mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
>
>
>
>
>
> _______________________________________________
> 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/20100116/9f8a90ae/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synced-nbx-slider-ex.pd
Type: application/octet-stream
Size: 397 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100116/9f8a90ae/attachment.obj>


More information about the Pd-list mailing list