Forums > Gen

Changeable Argument in gen~

Jul 03 2012 | 12:11 am


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!


Jul 03 2012 | 7:38 am

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.

Jul 03 2012 | 3:48 pm

This solution is perfect.
Thank you!

Jul 06 2012 | 5:25 pm

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

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

Forums > Gen