I have been working on an abstraction that is essentially a counter that takes an input from a midi CC, numbers greater than 64 increase the count, numbers less than 64 decrease the count, but it needs to be able to have the count modified manually or recieve a new value and take up the count from there. My current solution is shown below in a not quite functional state, messed something up when I cleaned it up to make it legible and now it counts by two and does not take properly to a preset at the first inlet, but it shows my direction, which I doubt is the best path and it has the problem of missing quick changes at the left inlet. Any direction on a better path or how to improve this one would be much appreciated. Trying to stick to vanilla, even if I do not use vanilla in the end result, I still want to figure this out in vanilla.
note: ignore the loadbang > i64 nonsense, no idea how that came to be, it probably did make sense in some earlier evolution.