Troubleshooting
switch array
Started by wul on .
Sign in or create an account to join the conversation.
i know how to address a individual pad from an array using the firstof() instruction to access the first non null element of an array
but lets say i want to send a sysex message when a switch within a switch array is pressed that includes a reference to the switch pressed.
cant use firstof instruction because multiple switches will be on
could use an if nest, but there is 36 switches
sure there is any easy, and obvious way that i'm missing
but lets say i want to send a sysex message when a switch within a switch array is pressed that includes a reference to the switch pressed.
cant use firstof instruction because multiple switches will be on
could use an if nest, but there is 36 switches
sure there is any easy, and obvious way that i'm missing
Switch.x then relace the i with the switch or pad.
So Pad.x[0]gives younthe adres of the first pad .x[1] the second etc
So Pad.x[0]gives younthe adres of the first pad .x[1] the second etc