Welcome to %s forums

BrainModular Users Forum

Login Register

how to get value for global array string

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

how to get value for global array string

Unread post by woodslanding » 25 May 2025, 05:52

my guess of GetGlobalArrayString doesn't work.

(I'm using usine from last october while I wait for the authorisation for the new version, so let me know if this has been added since....)

Thanks!

Edit: talking about via script, btw....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 01 Apr 2026, 20:15

here I am needing it again.... a search only turns up the crickets from my first request ;D

Workaround in progress. maybe I'll check back next year....

If this exists, it should be added to the manual.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

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

Unread post by oli_lab » 01 Apr 2026, 21:22

Hi !
Can you explain what exactly you want to achieve so I can provide you with a patch ?
++
Olivar
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

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

Unread post by oli_lab » 10 Apr 2026, 11:00

Check this workspace :
set and get GA string.wkp
(114.17 KiB) Downloaded 13 times
what should be remember is :
- declare the GA with a unique name
- populate the GA with "set" modules
- get values with "get" modules
- be aware of the "pass if changed" switch inside the "get" modules
- avoid connecting anything to the GA declaration module, just leave it alone.

Usually, I put all the GA declaration modules in one same patch for code cleanliness

If you need multi-dimension arrays, you can explore putting an array inside a polyphonic subpatch
or use Json

Olivar
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

Post Reply

Who is online

Users browsing this forum: No registered users and 69 guests