Forums > MaxMSP

generic sends and receives

October 13, 2012 | 8:27 am

Hi!

I’m building a poly~ and I need to have generic sends and receives adressing the different instances. I believe I can use the # character in the generic poly~ but I have absolutely no clue of how to do it (and I’m not sure that’s what must me done. Can anyone direct me to a tutorial or object reference ? thanks!

Coralie


October 13, 2012 | 8:31 am

Or maybe I could use forward ?


October 13, 2012 | 8:49 am

Do you mean with ‘adressing the different instances’ that each instance needs a unique send/receive pair?

The [forward] object indeed can be understood to be send with a changeable argument. When no argument is specified in a [receive] object, it will get an input that allows for dynamically specifying one.

– Pasted Max Patch, click to expand. –

October 14, 2012 | 10:06 am

Hi jvkr

Thanks a lot, indeed your solution can work I guess, but I think using #0 in the send and receive message is actually the solution. It was not very clear in the help patches and tutorial….


October 14, 2012 | 7:21 pm

youc an use #0, but you could also use "set n" to [forward] where n is the voice number.
you can get the voice from thispoly

-110


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