Welcome to %s forums

BrainModular Users Forum

Login Register

store array script data save in preset and store negative values?

I need help on a Patch
Post Reply
soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 11 Jul 2013, 01:58

Is it possible to add functionality to the store array script to be able to store its data in a preset manager so its data can be recalled by preset? Also the script does not store negative values. A job for a script master?

thanks

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 11 Jul 2013, 09:18

If you add a fader to the current num inlet, it will be stored by the preset manager ?

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 11 Jul 2013, 10:27

Thanks for the reply but I think you misunderstood. I would like to store the data contained within the store array to a preset as if the stored arrays are exposed to the patch instead of being hidden by the script. is this possible?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 11 Jul 2013, 13:06

yes, maybe i misunderstood, here a second try :
here i store the matrix values in the script, and add an other array to display the values
if i store the main fader in my preset manager, i can recall and see them ?

Download

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 11 Jul 2013, 14:05

Thanks again for the try but thats not it either. let me try a better explanation. In the previous usine (v5) the complete state of the store array script including the arrays stored within could be saved to a preset. This allowed the recalling of multiple "sets" of arrays by recalling presets. Either the preset manager has changed or the script has changed because the stored arrays are no longer saved with presets in the v6. thanks for your time

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 11 Jul 2013, 14:49

Any chance to see a simple patch example to illustrate ..?
(OS and OS version too please)

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 12 Jul 2013, 02:58

Here is the patch. This functionality only works in usine v5. Presets 0 and 1 contain different sets of arrays which are stored in the 0 and 1 slots of the script. To test simply click preset 0 then use the fader to recall 0 and 1 from the script to see their contents, now click preset 1 and notice how the contents of the script have changed when the fader recalls them.

store_array_preset_v5

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 12 Jul 2013, 09:36

Ok, i understand now, ( never use the store array this way before...) and i confirm your issue on hollyhock, we'll investigate

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 13 Jul 2013, 04:48

that is good news. thanks for the help.

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 15 Jul 2013, 19:46

Arrays have always had a problem with negative values. In v5, I had to add a value going in and subtract it again afterwards to keep array values positive.... , is there a better workaround for this? It was clumsy, but it worked.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests