now i want to expand on this a little bit :))
i’m trying to figure out a way to have a [train] node flash a led when moving the knob back to the saved position of the parameter to indicate distance before it will latch on to the param again if that makes sense.
lets say saved value is 0.2 and the knob is at 0.8 when switching back. we need to travel -0.6 with the knob to get bck to the saved value and latch on. when it is furthest away the [train] should be at it’s slowest. as the knob is turned towards 0.2 it gets faster when it is really close the led should flash fast enough to almost not notice that its flashing.
any smart math heads or maybe @alo.bu has a thought about how to go about this? it seems doable with the code you wrote to use the outputs for something like this.
some things to consider, a change in any of the knobs(considering we are have multiple knbos that have 2 parameters) should be detected and then show the flashing led to indicate the distance. if we have multiple knobs with the dual function on it all switched by the same switch the led needs to reflect the values of the right knob.