[SOLVED] Message "open" opens all instances of vst~ effect GUI

Learn about building and using Max for Live devices.
Post Reply
JEFinster
Posts: 7
Joined: Sun Mar 19, 2023 9:53 am

[SOLVED] Message "open" opens all instances of vst~ effect GUI

Post by JEFinster » Wed Jan 17, 2024 10:15 pm

I have created a wrapper for my favourite AU effect to have a nice and practical representation of all the parameters on my push. What I really like is the possibility to open the effect GUI with the "open" message. Now I have the frequently used parameters on my push and can open the effect GUI with a toggle button, also directly from my push.
I spent quite a lot of time to get it exactly how I like it but now I discovered an unexpected behaviour when I place multiple instances of the m4l device on multiple tracks. When I want to open the effect GUI of a single track the effect GUIs of all the different instances on all the tracks are opened simultaneously. It is annoying but in a way I could live with that but what makes it even worse is that the particular effect GUI I wanted to open is not even on top :| .

Is there a way to tell m4l that I only want to open only the effect GUI of that particular device instance on that particular track?
Last edited by JEFinster on Fri Jan 19, 2024 9:05 am, edited 1 time in total.

doubleUG
Posts: 250
Joined: Sun Apr 24, 2011 7:19 am

Re: Message "open" opens all instances of vst~ effect GUI

Post by doubleUG » Thu Jan 18, 2024 3:02 pm

do you use "Global" send recieve with out "---"?

See page 10
Local and Global Naming
https://maxforlive.com/resources/M4L-Pr ... elines.pdf
copy the text, open Live > drag in empty M4L device > open Max editor > paste > save M4L device
https://docs.cycling74.com/max8/vignett ... ng_patches

https://doubleUG.bandcamp.com/releases

JEFinster
Posts: 7
Joined: Sun Mar 19, 2023 9:53 am

Re: Message "open" opens all instances of vst~ effect GUI

Post by JEFinster » Thu Jan 18, 2024 6:47 pm

Wow, thank you. That was exactly it. I wasn´t aware of the different scopes and used a lot of send/receive objects. Now I changed them all to use the local scope "s ---" and "r ---" and now it is working as it should.
This also fixed another issue I had when I loaded multiple instances of the device. When I turned the knobs too fast the parameters would become glitchy und unresponsive. Here also I send/receive parameter values on a global scope.

Thanks again for the great help.

Post Reply