passing parameters encapsulation

genekogan's icon

Hello. First post!

I have a question about passing parameters. I just encapsulated a patcher into a new object I'd like to use a lot. I'd like to be able to pass a default parameter every time I use it, e.g. if my patcher is called "patch", i want to make an object "patch 102" which will automatically send 102 into the patch. I don't mean an inlet, I mean a default parameter in the object definition. How can I do this? Thanks!

gene

johnpitcairn's icon

check out the patcherargs object

genekogan's icon

thanks!!