Forums > MaxMSP

Link parameters in abstractions

Aug 01 2012 | 12:01 pm


Is it possible to link paramets between copy’s of a patch (so when i chance some faders in one patch all the others chance with it)? i tried everything with pattr but with no luck. I don’t want to use send and recieve pairs (if that is even possible).

And if that is possible i would like to be able to make one of these abstractions into a bpatcher (someting like a master control)
Thanks in advance.


Aug 01 2012 | 2:32 pm

Send/Receive are global and therefore a possible solution. There is also [value] . If you are always only using the one ‘master’ control, it should be easy enough to modify the abstraction and create a new version for your bpatcher so that it sends messages to the other abstractions which should be setup to only receive fader values – in order to avoid message feedback (stack overflow).

Aug 01 2012 | 8:44 pm

Thanks for the reply!

Does your solution mean that the master control patch and the "slave" patchers are different?
Cuzz then everytime i make a change i have to change 2 different patches…
Or am i not getting your solution?

is it btw possible to have a UI in a poly~ object like bpatcher?

Aug 02 2012 | 6:19 am

if you only need to have the same variable in two instances, [v] works best.
if you also need to "automatically" output from the second instance, it will be a bit more tricky.

Aug 02 2012 | 4:08 pm

There’s also the old-school sw abstraction (I don’t think this is in the distro) that’s helpful in these type of situations because it will update both sliders. I like it because it doesn’t rely on the "set" message and is type neutral.

-- Pasted Max Patch, click to expand. --

Here’s an example:

-- Pasted Max Patch, click to expand. --

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP