Hi there,
Quite new to PD and am I am finding it quite difficult to get the following happen:
On my hardware midi controller I have a momentary button and a rotary encoder. The button sends CC34 on ch11 with value 127 if pushed, 0 when released. The encoder sends CC10 on ch11, with value 0 - 127.
What I want to achieve is when the button is pushed, it modifies the midi channel of the encoder to channel 12. On release of the button, the encoder reverts back to channel 11. CC and value are preserved as is. This will allow the encoder to have two layers. I have gotten this to work in Bome Midi Translator Pro using a global variable for the button state, but was curious if this could be achieved in PD as well?
So far my attempts have been poor. Using Pd 0.49.0 on OSX.
Hope this is asked in the correct subforum, if not please move it.