generic sends and receives

coralie's icon

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

coralie's icon

Or maybe I could use forward ?

jvkr's icon

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

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

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.

coralie's icon

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

Roman Thilenius's icon

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