< Back to IRCAM Forum

`@maxduration` and `@maxresampling` helpfile

In the basic help patch of mubu.concat~ there is this text:
In the initialisation, two arguments can be given for the attributes @maxduration and @maxresampling. The first argument is used to allocate the internal buffers and represents the absolute maximum for duration and resampling. Single attribute values given in the initialization are taken as absolute and current maximum.

It is this part I don’t understand: Single attribute values given in the initialization are taken as absolute and current maximum.

I really don’t understand what this means. If I connect attrui, there is only one argument for both @maxduration and @maxresampling.

Maybe this is left over from an older version?

yes, these attrs are handled differently on object instantiation (up to 2 args when written in the object definition) and by message/attrui (1 arg). The attr can change during runtime up to the absolute max.

Now I get it. Maybe you should add this to the text in the basic helpfile. This is helpful information. Thx!