Hello Max grrlz and boys
This is my first post here, I'm rather new to Max but already addicted :) I'm using Max for my final uni project and so far I could find all my answers on this forum so… to all the contributors here - you're doing great job!
A part of my project is a simple synth MIDI controller that uses knobs and sensors. I'm using Arduino for it, but the problem is more Max related. The idea is that each knob and sensor have a momentary pushbutton next to it. The sensors aren't mapped to any synth's functions by default, only the knobs are. To use sensors instead of knobs one has to simultaneously press two buttons - one next to a knob and other next to a sensor - so the chosen sensor would take control over the synth's function assigned to the selected knob. To cancel this connection press the button next to the knob once again.
So far I managed to to this for a single pair but I cannot figure the way to do it for multiple sensors - use few sensors on few different knobs, cancel and remap the sensor-button connections on the fly.
Here is the patch. Any help very appreciated :)