Monophonic Pad Array / Radio button switch array with note-off
Posted: 09 Apr 2025 18:31
Hi gang.
I'm trying to build a note controller which has multirow array of note pads.
Notes in a row should cancel each other and this is where I've stumbled.
I've made a test rig with the simplest script:
pressing pad[0] cancels any other pressed pads in a row (i'd like to extent this script to any other pad later)
but instead of momentary behaviour, pad[0] acts like a toggle switch. trying this on iPad is even worse - if I press any other pad with pad[0] they turn off, but when I toggle pad[0] off any other pads that were previously shut will turn on again as if iPad thinks that I'm still touching those.
Looks like I'm entering some infinite loop, yet I can't find a solution to exit it.
Any help will be much appreciated.
Test rig attached.

I'm trying to build a note controller which has multirow array of note pads.
Notes in a row should cancel each other and this is where I've stumbled.
I've made a test rig with the simplest script:
pressing pad[0] cancels any other pressed pads in a row (i'd like to extent this script to any other pad later)
but instead of momentary behaviour, pad[0] acts like a toggle switch. trying this on iPad is even worse - if I press any other pad with pad[0] they turn off, but when I toggle pad[0] off any other pads that were previously shut will turn on again as if iPad thinks that I'm still touching those.
Looks like I'm entering some infinite loop, yet I can't find a solution to exit it.
Any help will be much appreciated.
Test rig attached.
