I'm trying to improve my messy approach to Pure Data so am after advice. I am controlling 8 toggle boxes (which turn on and off an effect) via a keyboard note.
To do this I am currently using, for all 8 effects, an integer increment when the relevant key is pressed, which is then divided by 4, and sent to Sel 0 1 2 3, to get the on event of the key (event 0 and 2). Then sending a Sel 1, or Sel 0 to the Toggle. As I'm doing this 8 times it looks and seems very messy. But at least it works I guess.
Any easier way to do this?