RNBO param namespaces break when @title is changed

Peter Todd's icon

I'm just dipping my toes into RNBO (and in general haven't really played with Max much for many years, but I do a lot more general coding).

Looking at the examples in Synth Building Blocks, for example the subtractive synthesizer, which has a [p @file sbb.env.analog @title env.adsr] in RNBO and corresponding [prepend poly/env.adsr/attack] etc in [p env_control] in Max.

If I edit the @title attribute of that RNBO object, then the parameters get listed as /poly/sbb.env.analog/* rather than use the title as I believe they're supposed to.

The only way I've found to make the namespaces consistent again is to reopen the patch.

Seems like a fairly basic bug but I didn't find an existing thread.

Happy New Year etc.

"version": "Version 9.1.2 (07b9c4cbe57) (arm64 mac)",

"osversion": "Mac OS X Version 15.5 (Build 24F74) arm64",

Ben Bracken's icon

thanks for the report, we will take a look. It appears that it defaults to the @file name instead of using @title, at least until you reinstantiate the subpatcher, or save and reopen. So a short term solution could be to just change the title, delete the subpatcher, and undo (or save and reopen).

Peter Todd's icon

I'm not sure if delete & undo works - for example, when the subpatcher is instantiated by pasting then it also defaults to @file and I've a feeling this is the same for reinstantiation via undo, I think I tried that.

This lead for a bumpy ride when trying to learn by copying and pasting from examples - hopefully won't be too hard to fix; I could imagine quite a few people might just take a knock to their confidence and get put off.

Ben Bracken's icon

Obviously not an ideal behavior or elegant workaround, but changing the title, deleting the object, and undoing definitely works here.