Adding the option to have a mapping range to toggles in M4l devices?

Nick O's icon

Hi guys, I'm trying to map the bypass toggles in this mapping device to a macro knob such that each bypass button is only switched on at specific ranges of the rack macro, problem is it's impossible to define a range when mapping it. Is there any way to make it have a range?

(no settable min max range when mapping the toggle to a macro)

Nick O's icon

As an alternative solution to what I'm trying to do, is there an object that would simulate clicking the live.toggle (bypass switch that looks like a blue dot) using the output from a toggle object? I guess using a bang whenever the toggle switches to 0 and a bang whenever it switches to 1? I tried directly linking the toggles but it doesn't deactivate the bypass switches, it turns off the blue dot visually but without actually deactivating.

I attached what I've tried doing, the Live.dial is supposed to toggle each bypass switch one at a time, thereby activating only one mapping while bypassing the rest (without removing the mapped target)

Max Patch
Copy patch and select New From Clipboard in Max.