abstraction argument use

Apr 4, 2010 at 6:58am

abstraction argument use

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

#49523
Apr 4, 2010 at 7:44am

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.

#177962
Apr 4, 2010 at 4:12pm

Hello Brian,

#1 works with certain object and not with the others ; i can’t remember if [trigger] accepts it ; [patcherargs] connect to [zl reg] for example can be used instead of ; sure someone will find a best way … HTH !?

#177963
Apr 4, 2010 at 4:19pm

look up the patcherargs object.

#177964
Apr 5, 2010 at 1:26pm

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

#177965
May 12, 2010 at 4:37am

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…

#177966

You must be logged in to reply to this topic.