Forum

Manage inputs

Hi.

I am looking for an easy way of setting different inputs values at one time.

Example :

I have a midi controller

When I press a button I need different other values at different places in my patch to be set to values I have choosen before.

And the when I press an other key, other values choosen in advance should be set.

Example of simple application : a quad, a transform node : When I press a button, the quad goes to a special place, with a special size and a special color, all at one time. And when I press an other button it moves somewhere else.

Sorry if it was long but I think it is clear now.

Any tip will be apreciated :-)

Tks lots.

MultiFlipFlop and Switch might be a big part of your solution

Thank you for your answer

I found an easy way of doing what I want (see patch attached)

Now could you please tell me how to merge the two getslices in one ? I’m sure it is possible with spread but this is a weakpoint of mine.

And by the way, now that I found a mean of patching my problem, maybe someone finds an easier or better way of doing it.

Thanks.

mylittledatabasepatch.v4p (12.9 kB)

do you mean something like this?

mylittledatabasepatch_v2.v4p (14.3 kB)

Mhhh that works well but it is not what I need, because this works for two parameters but not for 3, 4 or more… What if I want to set the color ar ths same time ? ;-)

Any other idea ?

What if I want to set the color ar ths same time ? ;-)

Too bad, but because you cannort mix Colors and values, you have to make a little work-arround for it, split the values off the colors, select what you need, and convert them back.

The Getspread and a Cons node don’t mix wel, unless you use a Swapdim first. See attached patch, good luck.

mylittledatabasepatchV3.v4p (41.6 kB)

Greaaaaaat !!!

Thank you so much !

I now have a lot to play with.

It will do the job for now.

Thank you again cheers.

you also may find my module-set P (VVVV) useful.
(can be found at kalle.Modules.VVVV)
“P” means Preset.

vvvv’s IOboxes (Value,Color,String) have a nice and often overseen feature: the “SliceOffset” Pin (is hidden by default).
you can store thousands of values in a small IObox and only view or edit a single value.
all edited values are stored in the patch containing those IOboxes.
the “P” modules let you access only the slices you need.

i am currently reworking this Preset-Approach and hope to finish it before upcoming Node08. if everything goes well i promise you that this will be a real hit.

i am currently reworking this Preset-Approach and hope to >finish it before upcoming Node08. if everything goes well i >promise you that this will be a real hit.

really looking forward that one.

Oh yeah !.. no text …

i love this kind of looking forward :)