Hi fellas, thanks for chiming in, I really appreciate that!
Ok, what I'm really trying to do is to make an iPad approximation of the Suzuki Omnichord.
I have 3 rows of pad array: top row - for major chords, middle - for minor, bottom - for dominant 7th + combination with up to three buttons in a row, take a look at the manual.
I may do the chord logic elsewhere outside Lemur (e.g. Plogue Bidule), but for now I'd like to set up two things in my pad array:
1. pads in one row should cancel each other, i.e. if i press second pad in a row, this should turn the first pad off, essentally making a row monophonic.
2. pads in one column should not cancel each other, allowing combos of pads to make a different chords.
I am already having problems at the first step, so there goes...
midikinetics wrote: ↑12 Apr 2025 16:07
If these are supposed to be toggles, have you considered using the Switches widget set to Radio mode instead of the Pads? The Switches widget has this functionality baked in.
nope, I need momentary behavior, i.e if I move my finger off the pad, it should turn off.
midikinetics wrote: ↑12 Apr 2025 16:07
If the reset button truly has a different function than the rest of the buttons I would highly recommend making it a separate button. This will simplify the math and make the project easier to reason about.
that example was for testing purposes only
in practice any button should work as a reset button, if pressed when there's pad already pressed in a row
midikinetics wrote: ↑12 Apr 2025 16:07
To address the issue, have you tried setting the evaluation condition for the `cut()` script to be on `x`
falling instead of rising? The buttons would reset when you lift your finger
off the button.
If I set trigger condition this way, it means I can have more than one pad in a row activated which is not allowed.
Phil999 wrote: ↑12 Apr 2025 22:41
To the actual question, I also thought that a Switches object with radio mode should be the first idea. But I haven’t downloaded the template to understand the issue in detail.
See above. The Pad grid should work as a keyboard, albeit monophonic.
Maybe my idea is incompatible with the way the Pad array works, and I need to think some workarounds.
Yet, having one Pad array would be neat.