@hologramfacemusic This is now simpler with 1.14.0:
-
a Note_on → CC Replace Transform (fixed CC, fixed value) for each key you want to toggle
(values are set to 0|127~ see below) -
a (CC) Rescale [0;127] → [127;0] to do the flipping
(so set value above to the opposite of what you want your initial value to be) -
and a couple of “bookend” Filters to make sure that only Note_on’s get in and CCs get out
(this way you can keep adding new “toggles” as your preset develops – any unTransformed note_ons just get stopping from leaving) -
end the line with a Virtual out, say H, which will “collect” all the virtual mapping toggle events for use in other “message” pipelines
(The beauty is, you don’t even need Virtual H-IN in your preset for the mappings to work ) -
and finally the “coup de grace”– for each of the mapping Transform, map the “value” Arg to ‘itself’
(so if your Transform is Ch16 CC77 and the Value is set to Arg2 thenAdd
a mapping to Arg2 {Virtual H, CC, 16, 77}…
… and so on for each toggle you create)
When 1.14.0 graduates beyond Beta, this will be in a short series of “Virtual Mapping Techniques”
(In meantime, I’ll post a shot/patch tomorrow if you haven’t sussed it already)