I am trying to implement a paging system for my launchpad step sequencer. A red light indicates the active page a green light indicates the page being edited. I am having trouble figuring out a way to keep the active page light persistent while turning green lights on and off as different pages are edited. I’ve attached a sample patch showing how I’ve been approaching button/light control. If anyone can point me in the right direction I would greatly appreciate it. Thanks.
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.