Forums > MaxMSP

Dynamic Inlets like in pack object

February 17, 2010 | 11:13 am

I was wondering how can I create a patcher / sub-patcher with dynamic inlets (decided by number of arguments) like the ‘pack’ object?


February 17, 2010 | 11:17 am

Have a look at the script messages for object creation in the thispatcher help file. I’ve never tried, but it’s probably possible! Also check out the patcherargs object for arguments. You can also use the #1-#9 variables in objects. #1 will get replaced by the first argument etc….


February 17, 2010 | 11:35 am

try this. save it as something and then give it an argument of 2-6. (i learnt this trick by looking at emmanuel jourdan’s ej.mout~ abstraction, to give due credit)

– Pasted Max Patch, click to expand. –

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