I'm testing GUI-O by trying to implement a user interface for a MIDI based percussion unit.
I've already got working a UI to set and assign a MIDI instrument (drum pad), and also to an 8 instrument sequencer. I used the spinnable list widget here. It works OK, but it is a bit clunky and difficult to get the right sizing though.
The 2nd part is a sequence editor, where on the x axis you have beats (usually quarter beats), and the y axis represents which instrument 'fires' during that beat. Ideally I'd like 16 beats (4 bars) by 8 instruments, so I imagined building 64 buttons on a grid and using the on pressed event to toggle whether or not an instrument plays on that beat.
I initially tried to implement the button creation in some nested loops, but it takes an extremely long time to create and render the buttons (and I cut the time back by only doing 8 beats by 2 instruments to test if it would work).
Do you have any better suggestions on how I could create this type of UI? Have a look at https://drumbit.app/ for an example of the type of thing I am looking to do.
Thanks