Before it was introduced as an option in Usine, I tried to create some scripts to simulate a soft take over behaviour that I liked without success. But now - as I'm creating a workspace where I need both smooth and rapid changes - the new equation module started me thinking anew, and I think I've found a good compromise between smooth and rapid, and it's easy on CPU too. (Not that this couldn't be done with standard modules, it's just that being able to use a good, old IF-statement made me think again.)

I'm using different checks:
- abs(b-c)<=d*.02: A small percentage of the max (or max-min) value to have a margin where the slave will snap to master.
- a==c: The previous master value equals the current slave value.
- (a<c and c<b) or (a>c and c>b): The master values have "crossed" the slave value.
If one of the above conditions is met, the slave receives the master's value, otherwise it gets its own value.
The down side I can see to this approach, is that the physical controller sending the CC values might have been moved since the last update of the patch values, either because some other preset has been used sending some other CC message, or that the patch has been turned off, but I can live with that.
The Soft Take Over option obviously has to be turned off in setup for this to work.



