Seems like the bit changer is not the solution, since the values are:
127 = 1111111
85 = 1010101
45 = 101101
and
0 = 0000000
But, this is easy to implement in a StreamByter output rule, as follows:
Create two toggle buttons as follows
♢= Sysex, 58 00 V, no checksum, 1 byte V, MIDI off / on = 0 / 127
⎋ = Sysex, 58 01 V, no checksum, 1 byte V, MIDI off / on = 0 / 127
StreamByter output code follows
# StreamByter code to process MOOD Pedal bypass switches
# Oct 19, 2922, Red Heron Music
# 58 is currently unassigned SysEx Mfr code, using in place of (much longer) CS assigned 00 01 7E
If Load
Ass i0 = 0 # Initialize ♢ state to off
Ass i1 = 0 # Initialize ⎋ state to off
Define Chan B0 # Channel 1, for channels 2-16, change B0 to B1 - BF.
End
If M0 == F0 58
If M02 == 00
Ass i0 = M03
End
If M02 == 01
Ass i1 = M03
End
If i0 == 0 # ♢ Off
If i1 == 0 # ⎋ Off
Snd Chan $103 0
End
If i1 == 7F # ⎋ On
Snd Chan $103 $45
End
End
If i0 == 7F # ♢ On
If i1 == 0 # ⎋ Off
Snd Chan $103 $85
End
If i1 == 7F # ⎋ On
Snd Chan $103 7F
End
End
Block # block control message
End