Changeable Argument in gen~

Jul 3, 2012 at 12:11am

Changeable Argument in gen~

Hello,

I’m making a bpatcher abstraction which I will use multiple instances of it.

The abstraction has a buffer~ object which has its own independence from the other instances as its name contains a changeable argument in its name. This changeable argument is set to the first argument of the bpatcher.

Now, I have a buffer operator in gen~ in the bpatcher abstraction and I want it to recognize the buffer~ outside gen~.

The challenge is that gen~ can have only one argument (the name of the referred gen~ file), and “args” is not valid unlike for poly~ or pfft.

I attached a simplified example to this message — obviously it’s not working well as gen~ has no argument.

Does anyone have a good idea?

Many thanks in advance!

Attachments:
  1. test.zip
#37966
Jul 3, 2012 at 7:38am

sadly, Gen cannot handle the unique id arguments.

for loading unique buffers simply send a message to do so. example attached.

(this is all in the gen help file by the way)

good luck.

Attachments:
  1. testhelp.zip
#131460
Jul 3, 2012 at 3:48pm

This solution is perfect.
Thank you!

#131461
Jul 6, 2012 at 5:25pm

Yes, this is the recommended way to do it. There are no plans to support #1, #0 etc. in Gen.

#131462

You must be logged in to reply to this topic.