First time here? Check out the FAQ!
x

Two controllers to one value?

+1 vote
452 views
Hi!

I cannot get my head around a very simple controller problem. I'm trying to control one hotvalue from two different controllers (one MIDI one OSC) so that I would use them one at a time. I managed to get this working by adding a switch by using the expression "true/false" like this:

"!Switch true: !Value1 false: !Value2"

This way the value will jump to the selected controller's value, instead I would like it to keep the last value until I change the selected controller? how is it done?
asked Feb 13, 2019 in Controllers, OSC & MIDI by anssi-laiho (Adept) (1,150 points)

1 Answer

0 votes

This expression

(!Toggle true: (!Value1 hasChangedInLast: 1 ms) false: (!Value2 hasChangedInLast: 1 ms)) trackAndHold: (!Toggle true: !Value1 false: !Value2)

on a change to !Toggle would keep the last value until you !Value2 changes.

answered Feb 13, 2019 by ssc (Savant) (128,200 points)
Thanks! It Works as expected now! Really nice, no jumping to and fro!
This is amazing!
...