I'm looking for a way to trigger midi program changes (to quickly select a MIDI instrument on my Android phone). I found [an Android app that does exactly that but unfortunately I wasn't able to use it to communicate with my PC for some reason.
The need:
have many buttons exposed in a matrix
when I click on a button, the button is pushed
previously pushed button is released
=> it can be one and only one pushed button at a time, so I can easily see what is the current program being used
I'm trying with Open Stage Control; as I already used it for a while. I created a matrix of buttons but more than one button can be "on" at a time.
In need a switch that can be presented as a matrix.
Is there a way to make this without doing a custom widget ?
Thanks a lot
ps: if you have any clue of other ways of achieving it, I'm super interested as I need it for a live show next week !
I have exactly the same problem, that is stopping me of adding any matrix.
Do you mean using this is the CSS section of Style? I added it, and also changed the widge type in the matrix section to push (to avoid leaving on visually the buttons ON permanently) But this yet works only the first button that you use and then stop working.
.switch {
display:grid;
/* replace “3” with the number of columns */
grid-template-columns: repeat(3, 1fr);
grid-gap: 1rem;
}
.value {
margin:0;
border:0;
}
Well, not sure if you refer to use a switch widget with that css as matrix or to set the matrix as switch and then add the css code.
Tried both, I cannot get working any of those
I mean, I can not get any matrix functionality as a push set of buttons, that is what I was looking for, and I guess the initial poster.
The OP seeks a way to make a matrix behave like a switch, that is with only one button activated at a time. As I said, that’s not what the matrix widget is for, as it’s just a way to create multiple widgets of the same type in a row. On the other hand the switch widget, as suggested by the OP, is suited for this usage and can be hacked into a grid. If the above example doesn’t work then your browser is not compatible or you’re using iOS 9.3 which unfortunately doesn’t support css grid layouts.
Indeed I totally messed up, too much stress to be prepared for the live performance !
I edited corrected my posts to correct this (hopefully you choose this excellent forum !)
Sorry for this
sorry for this but i don’t get this working, i have a matrix of buttons, and just want to highlight the last pressed one (all others should be off). Is this doable just by css ?