Multiple Buffers in Abstraction

Simon's icon

Hey,

I have a patch with multiple instances of the same abstraction. This abstraction uses 2 buffers, one for a window function and one for osc waveform...

I want to be able to select different windows and waveforms for each instance using a umenu for each one to load it in but everytime I change one window or waveform, they all change in every version of the abstraction!

Is there a way around this?

Thanks a million!

Jean-Francois Charles's icon

Give each buffer~ a different name.
For instance #0-cool-name. (#0 will be replaced by a unique number inside each instance).
Jean-François.

Simon's icon

Do you mean name each buffer in each instance of the abstraction differently?

I have 10 versions of graingen in my patch, with 2 buffers in each one called window and waveform.

Should I just create ten different versions of the abstraction and name the buffers slightly differently?

Thanks for the reply!

Simon's icon

Sorry I get what u mean now. Thanks!

Jean-Francois Charles's icon

Well, in your subpatch to be inside poly~, you name #0-waveform, and #0-window or something like that.
Then, when the voices are instantiated, each instance gets automatically a different substitute for #0, thus a different name.
J-F.

Simon's icon

Yep, working now! Thanks!