RNBO: M4L device using buffer~ named with "---<name>"?

tyler mazaika's icon

I'd like to use RNBO-built Max externals in some Max for Live devices. However, from what I can tell there is no way to dynamically set buffer~ references in RNBO other than what is hardcoded into the external.

Given that, it also seems it is impossible to scope buffer~ names to individual instances of M4L devices using the triple-dash prefix (e.g. ---MyBufferName), since those names are dynamically set when the device loads in Live.

Can someone confirm if that is accurate?

Alex Norman's icon

That isn't accurate, there are attributes exposed by the generated externals that let you map the rnbo datarefs to max buffers.

tyler mazaika's icon

Thank you Alex for the clarification. I clearly missed or misunderstood that portion in the docs.

Alex Norman's icon

It is understandably confusing! Hope it works out for you

tyler mazaika's icon

Thanks. Well, almost! https://cycling74.com/forums/cannot-access-buffername-in-rnbo-external-inside-a-poly