I think there’s some confusion on the terminology/method of MIDI in general here.
A midi message is nearly always composed of 4 parts:
- Message type
message type is note on, note off, Control Change (CC), Program Change (PC), Aftertouch, Pitchbend etc.
In a control change (CC) message data 1 indicates which control it is. Its like an address, an index, a number to indicate which knob or button or control you are “turning”. The second part of the data is where that knob is being turned to, all the way down is 0 all the way up 127. So when talking about CC64 or CCs 0-127 you are talking about the address. If you mean the value you’d say something like set CC 0 to 64, for example.
The way mod maps a button (which really is only either on or off) is if that “knob” is above halfway (>63) the button is on, and if below that (<=63) the button is off.
CCs are just messages saying “this knob turned to this position.” It only comes when the knob gets turned to a new one. So they don’t really turn off or on, it just sends a message when it changes.
I hope that clears up a bit. I’ll see if I can get a pedalboard that I can control effects with a keyboard and share it sometime in the next few evenings after work. I think its possible, but you’ll probably want the “midi note toggle” filter before the note2CC so it doesn’t turn off the effects when you lift your foot.