Link parameters in abstractions

mauser's icon

Hello,

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.

Maurits

spectro's icon

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).

mauser's icon

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?

Roman Thilenius's icon

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.

Peter McCulloch's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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.

Max Patch
Copy patch and select New From Clipboard in Max.

Here's an example: