Forum

Logic problem

Hi,

I have a logical problem with io boxes. There are three io boxes. Two of them are recieving data. The third should display the data of the io box which is actually changing. I know when the data of box 1 or box 2 is changing, but how to tell box 3 wether to take its input from box 1 or box 2? I think I could use something like an “if” node, but can’t find one. Any tips or node suggestions?

thx!

Here’s my Patch. The big slider in the middle should get the data of io Box 1 or 2 when it’s changed.

in_out_slider.v4p (21.2 kB)

try LTP Spread

antokhio, you are the best! Thank you!

The link doesn’t work for me… grr…

2 Change Nodes, a flipflop node and a switch was the most easy I could come up with.

LTP2.v4p (4.5 kB)

Hey West,

looks like the link has been fixed. But your solution looks muuuuch simpler. So I guess I’ll implement that one. Thanks for the patch. :)

Have a look here too.

Hi Bjoern,

I should have seen that before. ;) Thanks!

But now I’m searching for another one. I bet there’s a single node for this, which I don’t find. I want to translate incoming values into other values, so that the outcoming values reach from 0 to 1, while the incoming values are between -0.5 and 0.5. I bet that’s an easy one. But I never was good at math. :(

That is called Mapping, map one range into another one…

It is part of the FUN list (frequently USED nodes ;) )

Mapping.v4p (5.7 kB)

Thank You West! I think, I should read some more, before posting…

Thx!

@West: try the link at kalle.Modules.Spreads.
does work here.

hhm, what the heck i did in this module?
i should have commented this a little better…