Page 1 of 5

Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 7:48 am
by RJHollins
Hi GANG !

I have a project in mind that will require a different technique than I've ever tried before. The project itself is not really the base issue ... it the way the GUI components would work.

Let me explain ... simply if I can with a generic example.

Designing an equalizer interface for a multi band EQ. Let say [simply] a LOW, a MID, and a HIGH band. [simple].

What I'd like to be able to do, is allow the user to select WHICH 'band' they want to have :shock:

In other words ... if the entire GUI interface was sized to handle 6 bands ... there would be 6 'holding slots' available. From maybe a pull-down menu, the user could select one of the 3 bands. Since there are 6 slots, they could choose 2 of the same band .... even .... they could choose all 6 bands to be the same.

Key ... however, is that EACH band is self contained and independent .... even if all selections are of the same band.

If any of this makes sense .... great ! :lol:

I know we can switch sections of an interface, much like a 'tabbed' window. With 6 slots and 3 choices for each, I could duplicate each of the 3 band for the 6 sections ... making 18 modules. But that seems a really simple way, but very crude and resource waste. Magnify that if I had 10 bands with 10 open slots :roll:

The point I'm looking to address is opening the option that if a user needs 2 MID bands to work with, or maybe finds they'd like a 3rd, the option is there.

Since the GUI size needs to be determined from the start, I'm thinking how to approach a more open choice in what the user wants the EQ configuration to be.

BTW ... I'm using the EQ as an example, as it's easier to visualize.

I figure I'm not the first one to think of something like this, but at the early thought process as to what may be involved as to things like management of the various elements.

Just thinking this out loud ... any thoughts, ideas you'd care to share would be most welcome and helpful as to things to consider, etc.

thanks Guys ... always appreciated !
8-)

Re: Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 1:43 pm
by KG_is_back
I don't understand... can you draw an example?

Re: Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 3:02 pm
by tester
RJ - just build the gui sketch and check if you like it. It's the easiest way to know. Would take you probably less than writing the post. :)

If you like it, then tune it.

Re: Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 5:36 pm
by Nubeat7
if i understood right you want a dynamic call of eq bands, i`m afraid this is only possible with predefined modules so you will need to have the max possible eq modules here, like 6 lowpass, 6 bandpass, 6 highpass (one for each slot) and bypass them when not in use and route the gui elements to one of these where you need to take care of double setting (2 slider s for one filter) , for dynamic creation you would need an object oriented language like c++ there you could create e.g. a lowpass object dynamically so it only exists when you create it, in FS you only have limited possibilities

Re: Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 6:45 pm
by CoreStylerz
With ruby you cannot make UI algoritms? Something like stating how, and make it draw based on conditions?

Re: Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 7:06 pm
by RJHollins
Thanks NuBeat ... you definitely caught the concept.

What you describe is what I did on another project that used a 'switching GUI' design. That worked great for the needs of that project.

I remember reading in the forums an example where GUI elements were using a 'shared' technique ... can't find it at the moment, but I thought a single design was made, and then copies were generated from that. [something like that]. :roll: :lol:

The other idea was thinking of the 'selectable BUS' example that I think MYCO might have posted.

These were just an example collection of ideas that I was bouncing around. I was trying to examine some different programming strategies first, before I started. There have been several snippets of coding design that have me looking at a programs 'logic' in a different way [which is very educational to expand my design logic].

NuBeat ... I take your assessment serious. You've probably saved me many weeks of experimenting ... although I still do that in order to push on my limit boundaries.

Still thinking things through ... I appreciate hearing from you guys. I've learned a lot from you, but I still consider myself novice.

thx

Re: Design concept question [selectable GUI]

Posted: Wed Apr 16, 2014 7:12 pm
by RJHollins
oh ... just to be clearer ...

The MAIN design concept is to handle GUI components, and the values that knobs, sliders, buttons, etc would have. How the 'example eq' functions is not important [this is just an example to illustrate].

I was thinking that the user 'slot' could maybe provide an 'identifier' that would distinguish one from another.

The 'other' part was not having x times slot number of core GUI's.

Re: Design concept question [selectable GUI]

Posted: Thu Apr 17, 2014 2:33 am
by KG_is_back
You can modify your knobs/sliders to use parameter arrays. then you have a selector to switch between the bands. They will share gui, but will use different values.

Re: Design concept question [selectable GUI]

Posted: Thu Apr 17, 2014 6:59 am
by RJHollins
KG_is_back wrote:You can modify your knobs/sliders to use parameter arrays. then you have a selector to switch between the bands. They will share gui, but will use different values.

hmmm ... KG,

You describe a very interesting technique.

Unfortunate for me, my use of 'parameter arrays' may only be those that talk with the preset manager. [if you are indeed referring to those].

If by chance you could explain more, or have example, I would definitely be interested to learn something new.

8-)

Re: Design concept question [selectable GUI]

Posted: Thu Apr 17, 2014 8:54 am
by Nubeat7
KG_is_back wrote:You can modify your knobs/sliders to use parameter arrays. then you have a selector to switch between the bands. They will share gui, but will use different values.


referring to this?

viewtopic.php?f=3&t=1802