hi
again maybe a simple question... i am trying to build up a parent-child relationship between two or more sliders (for ex. 3 child sliders working independently. if i move the parent slider all three change their values according to the parent slider, up from there last values.) i am getting more and more confused and it just wont work up....
any hints about that?
regards wolfgang
Hi Wolfgang,
can you send an example patch? I'm having a hard time conceptualizing what you want them to do... it sounds like a simple issue of giving the child sliders the same "receive" value and the parent slider's "send". If this isn't what you want, then I have misunderstood.
derek
wolfgang schwarzenbrunner wrote:
hi
again maybe a simple question... i am trying to build up a parent-child relationship between two or more sliders (for ex. 3 child sliders working independently. if i move the parent slider all three change their values according to the parent slider, up from there last values.) i am getting more and more confused and it just wont work up....
At 16:16 03.03.2005, derek holzer wrote:
Hi Wolfgang,
can you send an example patch?
basically something like that.. but i am shure it can be built a little more elegant
I'm having a hard time conceptualizing what you want them to do... it sounds like a simple issue of giving the child sliders the same "receive" value and the parent slider's "send". If this isn't what you want, then I have misunderstood.
derek
wolfgang schwarzenbrunner wrote:
hi again maybe a simple question... i am trying to build up a parent-child relationship between two or more sliders (for ex. 3 child sliders working independently. if i move the parent slider all three change their values according to the parent slider, up from there last values.) i am getting more and more confused and it just wont work up....
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 36: "Consult other sources -promising -unpromising"
Hi Wolfgang,
can you explain what part of this patch isn't working the way you want it to? It seems to function in the way you describe. Perhaps you are looking for a simplified version of the same thing?
derek
wolfgang schwarzenbrunner wrote:
At 16:16 03.03.2005, derek holzer wrote:
Hi Wolfgang,
can you send an example patch?
basically something like that.. but i am shure it can be built a little more elegant
I'm having a hard time conceptualizing what you want them to do... it sounds like a simple issue of giving the child sliders the same "receive" value and the parent slider's "send". If this isn't what you want, then I have misunderstood.
derek
wolfgang schwarzenbrunner wrote:
hi again maybe a simple question... i am trying to build up a parent-child relationship between two or more sliders (for ex. 3 child sliders working independently. if i move the parent slider all three change their values according to the parent slider, up from there last values.) i am getting more and more confused and it just wont work up....
Is this what you want? I didn't look at your patch much, but it seemed to be buggy (reset the 'parent' to 0 when I moved a child).
AFAICT, my patch has the behaviour you want in a suitably simple form. Things do get frustrating when a simple function turns to spaghetti, don't they.
hi again maybe a simple question... i am trying to build up a parent-child relationship between two or more sliders (for ex. 3 child sliders working independently. if i move the parent slider all three change their values according to the parent slider, up from there last values.) i am getting more and more confused and it just wont work up....
Hallo, wolfgang schwarzenbrunner hat gesagt: // wolfgang schwarzenbrunner wrote:
At 16:16 03.03.2005, derek holzer wrote:
can you send an example patch?
basically something like that.. but i am shure it can be built a little more elegant
First you should get rid of the spigot construct to avoid locking feedbacks. It's too complicated, it's error prone and most of all: It is ugly so it cannot be the best solution. Aesthetics make the software world go round.
Then: In the upper part of your patch you create three loops and then cheat your way out of it. Even the usual "set $1" will not help you there, it's an accident waiting to happen. So lets delete it altogether.
I cannot really follow the lower part of your patch, so I'm just guessing here now. I suppose you want to create three linked sliders, which all move in sync, if one of them moves. Again, "set $1" is your friend here. So lets delete all this, too, and add "set $1", as done in attached patch.
It's obvious at first sight, that this solution is simple and most importantly: It's not ugly anymore.
Frank Barknecht _ ______footils.org__
_ __latest track: fqdn _ http://footils.org/cms/show/38
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
It's obvious at first sight, that this solution is simple and most importantly: It's not ugly anymore.
After reading this again, it occured to me, that it might be interpreted as: "My solution is obvious", but this isn't want I meant to say. I wanted to say, that this solution immediatly looks very simple, and that simple is a Good Thing (tm).
Frank Barknecht _ ______footils.org__
_ __latest track: fqdn _ http://footils.org/cms/show/38
hi
to complete the spectrum of different 'lulli'-patches, i send you a third one. after looking at your patch, i think this is maybe what you was looking for. if i understand you right, you want to have added the parents value in the children-sliders, rather than just set them to the parents value, or 'glue' them all together.
cheers roman
----- Original Message ----- From: "wolfgang schwarzenbrunner" schwarz@gen-control.com To: "derek holzer" derek@x-i.net Cc: "pd-list" pd-list@iem.at Sent: Thursday, March 03, 2005 4:35 PM Subject: Re: [PD] parent-child relation with sliders
At 16:16 03.03.2005, derek holzer wrote:
Hi Wolfgang,
can you send an example patch?
basically something like that.. but i am shure it can be built a
little
more elegant
I'm having a hard time conceptualizing what you want them to do...
it
sounds like a simple issue of giving the child sliders the same
"receive"
value and the parent slider's "send". If this isn't what you want,
then I
have misunderstood.
derek
wolfgang schwarzenbrunner wrote:
hi again maybe a simple question... i am trying to build up a
parent-child
relationship between two or more sliders (for ex. 3 child sliders
working
independently. if i move the parent slider all three change their
values
according to the parent slider, up from there last values.) i am
getting
more and more confused and it just wont work up....
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 36: "Consult other sources -promising -unpromising"
Hallo, Roman Haefeli hat gesagt: // Roman Haefeli wrote:
to complete the spectrum of different 'lulli'-patches, i send you a third one. after looking at your patch, i think this is maybe what you was looking for. if i understand you right, you want to have added the parents value in the children-sliders, rather than just set them to the parents value, or 'glue' them all together.
But now I finally understand what Wolfgang wanted to do in the first place.
Thankfully you forgot your attachement ;-) so I can fix my misunderstanding with my own reworked patch...
Frank Barknecht _ ______footils.org__
_ __latest track: fqdn _ http://footils.org/cms/show/38
hi frank
oops.. thank you. i wouldn't have noticed it. mine is still slightly different. :-)
cheers roman
----- Original Message ----- From: "Frank Barknecht" fbar@footils.org To: "post pd-msg" pd-list@iem.kug.ac.at Sent: Thursday, March 03, 2005 10:25 PM Subject: Re: [PD] parent-child relation with sliders
Hallo, Roman Haefeli hat gesagt: // Roman Haefeli wrote:
to complete the spectrum of different 'lulli'-patches, i send you a third one. after looking at your patch, i think this is maybe what
you
was looking for. if i understand you right, you want to have added
the
parents value in the children-sliders, rather than just set them to
the
parents value, or 'glue' them all together.
But now I finally understand what Wolfgang wanted to do in the first place.
Thankfully you forgot your attachement ;-) so I can fix my misunderstanding with my own reworked patch...
Ciao
Frank Barknecht _ ______footils.org__
_ __latest track: fqdn _ http://footils.org/cms/show/38