Hello everybody, i’m new here and English is not my first language so please be gentle with me!
I’m a beginner with SC and i’m studying it at conservatory of Milan, and i’m trying to code a drum machine with a 16-step sequencer with a row of button who indicate the position of the current step.
I know that maybe is not the most efficent or elegant way to do it, but i was thinking on using a routine with a inf.Do function that dictate the infinite step sequencing.
my actual problem is: i want to use an array of button written like this:
but unfortunally i have no idea to how integrate the .valueAction_ properly to turning on and off the buttons sequentially with the value of the routine.
I know it’s a mere question of estetic and maybe sound easy to a lot of people, but I would be very pleased if someone could help me, thank you all in advance!!
There are two instances of .asInt that should be changed to .asInteger, to remove the deprecated warning.
I don’t personally work with the graphical side of SC very often, and this actually seems a little too complex to suit your needs… but it may be worth checking out, at the very least.