abstraction argument use

Brian H.'s icon

Hey out there,
I'm fairly new at this feature, but have gotten it to work before. I've made an abstraction and it takes a symbol as an argument. When that argument is entered/changed, I want to use it a couple of patchers down and send to trigger. But I'm having a problem actually getting the symbol to the trigger object. What exactly is the best way to introduce this symbol into a subpatcher and actually get it in there? I use a msg box with #1, and the symbol gets there fine, but doesn't actually leave the box. Tried a few other things, as well. Of course, if the argument is a number, int/float boxes work fine. Seems like kind of dumb problem, maybe I'm missing something obvious?

Thanks,
Brian

spectro's icon

The argument will only *set* a message box, not cause output. You probably need to devise a method to bang the message box after it has been set with your symbol argument.

Brian Gruber's icon

look up the patcherargs object.

Roman Thilenius's icon

in case i get you right, the solution is

1. [loadbang] for initialisation (loading the parent patcher or changing the argument by typing)

and

2. an extra input method for symbols coming via an inlet (i.e. which is different from the
methode the arguments are used in the subpatch.)

-110

Brian H.'s icon

Belated thanks to all! I looked at [patcherargs] at one point awhile ago, but thought this method would be the simpler way to do something simple. I'll check it again. I've come up with ways to bang the argument out before, just thought there might be a better way...