Welcome to %s forums

BrainModular Users Forum

Login Register

User module description and version

Tell us what you'd like Usine to do
Post Reply
sm_jamieson
Member
Posts: 551
Contact:

User module description and version

Unread post by sm_jamieson » 28 May 2025, 02:26

In the SDK we have description and version strings,
e.g. from SDK examples
const AnsiCharPtr UserModuleBase::MODULE_NAME = "my test module"
const AnsiCharPtr UserModuleBase::MODULE_DESC = "my test module is very useful"
const AnsiCharPtr UserModuleBase::MODULE_VERSION = "2.0"

But when the module is used or examined in Usine, this information is not available anywhere.
e,g, when you look at a module in the Browser you get a description box - for a SDK User Module the box is empty.

If you have several versions of a User Module it is impossible to tell which version you are using.
For example, for HH6 SDK I have to modify one of my user modules because of the change in the Event class.
I then need to know which version is being picked up in my HH6 workspace.

Please can you
1. Display the MODULE_NAME, MODULE_DESC and MODULE_VERSION in the browser description box.
2. Display the information in the (i) information tab in the settings

Thanks.
Simon.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 28 May 2025, 11:58

+1
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 28 May 2025, 19:01

I suppose a text out parameter could be set up with the information, or in a tab Settings line.
I don't know if you can do sdkAddSettingLineCaption etc on the info tab. That might be cool.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 31 Jul 2025, 09:12

you're right the info version is missing in the browser and is not displayed in the module.
I'll try to improve this point int the next major release.
IMO, but to avoid any mistake an compatibilities issues, the best is to include the version number in the filename.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests