Forums > MaxMSP

multiple buffer~ objects, make all of them bang when read complete?

Dec 14 2011 | 7:08 am

I’m running into an issue here, that I’m not entirely sure how to solve. I have a buffer located in a subpatcher, under the hope that it will send a bang to a related info~ object when ever the contents of the buffer it’s paired with are changed. It doesn’t seem to work like this though, it seems that only the buffer that is receives the command to load actually does the loading. This is a little bit frustrating. Can anyone suggest how to get around it?

Dec 14 2011 | 10:25 am

is this what you mean? maybe using a remote send and receive pair to transmit the bang…

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

Dec 15 2011 | 4:31 am

Do you think there is any other way? I’m making an abstraction that I’m going to want to use over and over so I don’t want it to be dependent on a send/receive pair. It’s looking like I’m just going to have to add an extra inlet for triggering the info~ object, even though that’s less elegant than I was hoping for.

Dec 16 2011 | 10:41 am

you can make the send from the abstraction send to a different receives by using variable arguments with the # prefix,
ie [send #1_my_message] within the abstraction, and then when you instantiate an instance of the abstraction, call your abstaction [whatever 1] and another one [whatever 2], so it ahs an argument which corresponds to the # placeholder in your abstraction. Your receive obljects would be [r 1_my_message], [r 2_my_message] etc.
there’s gotta be something in the tutorials about this feature somewhere…

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

Forums > MaxMSP