Keyboard control of parameter in multiple directions and ways

good day,
combining a keyboard chop with a logic chop and an lfo chop I have managed to make this behaviour:

  • when I click “1” in keyboard, logic chop in toggle mode holds “1”, and I connect that to play of LFO, so that LFO increases a ramp for example. This works.
  • I can use a different key to reset the LFO chop, therefore resetting the value to 0.
  • But I want to be able to either increase or decrease a value as needed. How can I combine these chops so that say pressing a key I increase a value, and pressing a different key I decrease the same value from its current position?

I attach an image. I have managed to combining those chops, so make that when I press a key, lfo will increase values and when I press it again, it will decrease the values. The problem is that say that lfo goes from 1 to 10, if I am in 7, and press the key, it will switch to -7 and then decrease from there. But what I need is that if I am in 5,6,7 and I press the key, that it starts to decrease from there 7,6,5; rather than going 5,6,7 and then clicking and getting -7,-6,-5

thank you :slight_smile: