Page 2 of 2

Re: multifunctional slider

Posted: Sat Nov 09, 2013 10:00 am
by RJHollins
Hi NuBeat ...

I'm revisiting this Multi-slider as I'm now looking to implement.

With only a minor adjustments/mods that I needed to do [mostly with the button selector that was made by another esteemed programmer here] ... the whole piece was hinging on an important function.

This mult-slider is handling 2 different [CC] controllers. [and it does this very well] :D

My project has a feature that allows a family of tightly related patches to be inter-changed, while also retaining the User parameters that were set. Basically, after a pre-programmed 'delay' to allow for the patch change, I then re-send the user settings for the several settings. Works great, and allows A:B comparisons of the patches intact.

When I got to the multi-slider ... the 'active' mode was working as planned, but the 'in-active' settings were not going out .... hmmmm ... thought about a type of QUEUE or S&H ... etc ...

Throughout, I keep wondering why NuBeat had an ARRAY output included with the multi-slider ... and now I now why :o

With the slider set for 2 conditions ... each one is stored in this array. Nothing short of BRILLIANT :mrgreen:

By using a 'SELECT' prim, I can access the 'other, in-active' value through a 'GETAT' prim being fed from this included ARRAY output.

I have just realized the option that has been provided, and am very hopeful that I can complete the chain of events to follow my in-place routine that will now pass BOTH values out MIDI.

This is a very useful module created ... especially when conserving on GUI size, or minimizing extra 'clutter' that only one or the other is really needed [but the User can make that decision]. And yes, the PreSet Manager is monitoring/recording everything.

Now to put it all together ! :o
:lol:

Re: multifunctional slider

Posted: Sun Dec 15, 2013 6:04 am
by Quentin
So I am trying to leverage your good work for my own purposes.. and gain a better understanding of the preset primatives. The preset string makes sense to me, each preset is defined by its name. I get confused with the preset array module- I would expect it to be analogous to the preset string, name being a unique entity but in my example, it is behaving as a single array, regardless of name.
I think I'm missing something..
Thanks
Quentin

Re: multifunctional slider

Posted: Sun Dec 15, 2013 3:28 pm
by Nubeat7
dont understand what you want to do exactly but i would assume you want to save different units in one array,
so after one unit has 3 parameters you need to get a defined place for each unit in the array ...

unit 1 -> index 0-2
unit 2 -> index 3-5
unit 3 -> index 6-8
.
.
.

here is an example of how this coould be done

Re: multifunctional slider

Posted: Sun Dec 15, 2013 3:43 pm
by trogluddite
See also HERE - possibly a bug in the String->Array conversion when using "multi-line" edit boxes...