Forums > MaxMSP

Prevent Send from Sending to Other Patches

September 22, 2010 | 4:14 am

Trying to run multiple instances of a patch but I’m using sends in it. Can I disable communication between patchers?



EMV
September 22, 2010 | 7:58 am

Use #0 in your send-names: [s #0_sendobject]
For every instance of a patch, the #0 is replaced by a unique number.

Note: this doesn’t work with subpatchers that are not saved as a file!



Ch
September 22, 2010 | 8:02 am

Hi,

You can add "#0" at the begining of your send and receive’s names, such as [send #0_myvalue] and [receive #0_myvalue], the "#0" will be replaced by a random value in each instance, so the communication will be disabled between several instances.


September 22, 2010 | 7:35 pm

Ok, thanks guys.


September 22, 2010 | 7:52 pm

for subpatchers, if you have a lot of places where a number would need to be changed, look to [patcherargs]. Otherwise just change them manually :)


September 22, 2010 | 8:41 pm

Does this #0 thing only work in max 5? It isn’t replacing it with a unique number for me. The patches are still communicating with each other. I could go through and give each send a new name for every instance of the patch I was running but I have a lot of sends and it would take forever.


September 22, 2010 | 11:05 pm

#0 only works in abstractions, not in regular [p ...] patchers.


September 23, 2010 | 6:09 am

this is Max proper right?
"—" for M4L
#0 for abstractions and bpatchers


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