Hello i have question about best practices to use midi pad controlling sources.
I have already sources they react to press button on midipad and patch for light feedback to midipad.
What i have no idea how to do is to use buttons on midipad in toggle mode so by pressing one button i need to deactive others buttons (sources).
For example i have 2 sources with formula:
source1 - toggle(midi.note(1,1)
source2 - toggle(midi.note(1,2)
but i need something like this:
source1 - toggle(midi.note(1,1);deactive.source(source2);
source2 - toggle(midi.note(1,2);deactive.source(source1);
Hope you understand.
It is possible that i will have more sources that two so i am looking for best practice solution.
Thank you very much.