Shad wrote:Hey Mots I was wondering if there's a notification I could get M4L to recognize when switching through the User 2 sub-modes.
There's a handy M4L patch called wjl.launchpad.interface that allows for easier editing for USER 2 interaction for the LP. It recognizes when USER 2 is activated. The problem is with LP95 since there are 3 sub-modes for User 2. Fortunately, the functionality of your 2 sub-modes remains, and I can still use that max patch for the original User 2 sub-mode, but the LEDS don't update when you switch through the sub-modes. The 2 sequencer sub-mode leds will overwrite the original User 2 leds if a clip is playing, but when you go out of USER 2 and then go back in the LEDS update to how they were last set up from the max patch.
I'm hoping there's a possibility between the script and API end to see if M4L can recognize when/which submodes are switching. I've been looking through the MainComponentSelector part of your script. I assume the only way if possible is to look for activity in the Component/Control aspect of the framework, which M4L may be able to recognize, depending.
Close, Mots! (mode_index is id -22 for me btw) It's already possible to get a bang when User2 is entered, or a boolean. The problem is to recognize which SUB-mode you're in when you go into User2.Mots wrote:i took some time to figure out this max4live compatibility problem and figured out a way to make launchpad95 work nicely with max4live devices that use the user mode 2. Using live.observer to monitor property "mode_index", expecting value "2" for user mode 2 now works as expected ! great news !
If you have a Max patch specific for the original user 2 mode, it's most likely that you'll have your leds init from a bang or '1' when User 2 is triggered.
But if you go into User2 in one of your sub-modes, and not the original (red), you don't want those LEDS to load. That's the main issue. It doesn't matter which sub-mode you're in, those leds will always load:/
On the plus side, it's purely a cosmetic issue.
I'm still calling you a pimp daddy mofo, but if we can get sub-mode recognition, that would be dog balls.