|
|
|
12-03-2015, 08:45 AM
|
#1
|
Human being with feelings
Join Date: Feb 2015
Posts: 755
|
JSFX Scrolling
It would be nice if we can have scrollbars for JSFX that are larger than their window, like we have for VSTs.
I recently made a JS effect for the first time. It is something I throw on a Multichannel Kontakt Template. It's for a "Pad" effect, in which I have 16 mapped notes going to specific channels and outputing specified notes. B/c i'm not good at the gfx api yet, it is all sliders and and drop down boxes, instead of MPC-like pads.
Therefore, the interface is vertically elongated, which causes it to be cutoff by the window it is in.
Can scrolling be added to cases like this? Or am I not knowledgeable about current options?
Much thanx.
|
|
|
04-13-2016, 07:49 AM
|
#2
|
Human being with feelings
Join Date: Feb 2015
Posts: 755
|
Am I missing something?
Is there like a function or class for scrolling?
|
|
|
09-05-2016, 01:22 PM
|
#3
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
I confirm not having slider is a problem, especially on laptop.
Actual (not ideal) solutions are: - Splitting the JSFX into several plugin if possible
- Built something with JSFX to have better usage of horizontal space (but it is as easy to implement than defining a new slider variable).
Also, if sliders can be implemented in JSFX, it could be nice to have more than 64 of them. It can be useful in a lot of cases :P
Thanks for listening!
|
|
|
09-05-2016, 10:21 PM
|
#4
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,793
|
Quote:
Originally Posted by X-Raym
Also, if sliders can be implemented in JSFX, it could be nice to have more than 64 of them. It can be useful in a lot of cases :P
|
As many sliders supposedly need to be managed in groups to allow the users to handle them decently, for a functionality I once did, I made not one but a set of JSFX plugins that can be used together, each providing a set of sliders.
The parameters are transferred via global memory.
-Michael
|
|
|
09-06-2016, 12:52 AM
|
#5
|
Human being with feelings
Join Date: Feb 2009
Location: The Universe
Posts: 39
|
You don't necessarily have to "hardwire" a slider to a single variable in your code. You can use a slider as a "page" selector, for instance, which determines then what variables feed/are affected by your other sliders. So for example, if slider1 is your page selector, and slider2 is a control (call it genericControl) then you just need some code (a custom function probably, like updateGenericControl()) in @slider to properly update the slider or its current underlying variable on slider changes--ie, "if (slider1 == X) then somePageXVariable = slider2" And probably another such function to handle page changes.
It's a bit cumbersome and some caveats are you'll probably need to do some serialization to properly save plugin states, and the slider min, max and increments means you won't want to mix "unlike" controls (eg, you wouldn't want the same slider to deal with 0-127 MIDI values and 0 < x < 1 decimal values), but with some creativity you can pack a pile of controls into just a few sliders.
But yes, a scrolling option would be rather nice.
|
|
|
09-06-2016, 01:49 AM
|
#6
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@mschnell
Ok yes, splitting in several JSFX, that is exactly what I did for JSFX: Makey Makey.
Quote:
The parameters are transferred via global memory.
|
I didn't think of that, good to know!
@TheBestMeICanBe
Interesting idea,
but it will be a bit harder to make automation as it would require to also automate the page selector (if I understand well).
Quote:
But yes, a scrolling option would be rather nice.
|
Yep. That's the top priority in this thread. :P
|
|
|
09-06-2016, 03:07 AM
|
#7
|
Human being with feelings
Join Date: Feb 2009
Location: The Universe
Posts: 39
|
Quote:
Originally Posted by X-Raym
@mschnell
Interesting idea,
but it will be a bit harder to make automation as it would require to also automate the page selector (if I understand well).
|
Ha, yeah, automation definitely isn't that method's strong suit. Anyway, let's hope the team takes the suggestion to heart. JSFX is so nice because it's so easy to whip up a quick solution to fill an immediate need or experiment, but it would be nice to have a little more control over how the stock gui behaves or is laid out.
|
|
|
09-06-2016, 03:41 AM
|
#8
|
Human being with feelings
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
|
Sliders give you automatable parameters.If you make a gui, and serialze values, you can actually program limitless controls.
Anything you dont need to be automatable, you can just make in the gui itself. 5
|
|
|
09-06-2016, 06:54 AM
|
#9
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,793
|
Quote:
Originally Posted by James HE
Sliders give you automatable parameters.If you make a gui, and serialze values, you can actually program limitless controls.
Anything you dont need to be automatable, you can just make in the gui itself. 5
|
That is why I even used sliders to save / load / automate text that can be entered in the GUI
-Michael
|
|
|
09-07-2016, 01:42 PM
|
#10
|
Human being with feelings
Join Date: Feb 2015
Posts: 755
|
Some interfaces, I believe, just require scrolling, touch/drag and/or scrollbars.
It would be nice to have that as an easily attainable option.
|
|
|
09-07-2016, 04:12 PM
|
#11
|
Human being with feelings
Join Date: Jul 2014
Location: Là bas les huîtres (FR)
Posts: 424
|
I really don't understand why we do not have scrollbars !
The built in sliders are great. JSFX allows to focus on signal processing.
If i have to spend time on GUIs i will switch to VSTi: C++ is more adapted to GUI design than jsfx/eel. C++ allows classes with pointers, it's very handy when dealing with graphical objects. JSFX only has namespaces which is fine for DSP.
|
|
|
09-25-2016, 01:42 AM
|
#12
|
Human being with feelings
Join Date: Jan 2012
Location: North East UK
Posts: 493
|
+1 scrollbars please
|
|
|
09-25-2016, 01:47 AM
|
#13
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,336
|
+1. It will make a revolution!
|
|
|
09-25-2016, 09:22 AM
|
#14
|
Human being with feelings
Join Date: Jun 2010
Location: Somewhere PRO
Posts: 1,049
|
This bites me a fair bit lately as well.
If js could use the generic small knob, as well creating a new column every, say, 32 or 48 sliders ...could perhaps solve a lot of these problems with minimal change.
Everything could then fit on a laptop, and js coders can then go nuts, without the burden of GUI coding.
Oh, and upping it to 256 sliders to accommodate this ...
__________________
"REAPER... You're simply the best" - Tina Turner
|
|
|
09-25-2016, 09:26 AM
|
#15
|
Human being with feelings
Join Date: Jun 2010
Location: Somewhere PRO
Posts: 1,049
|
As an aside, js will use the gen knob if you resize the plugin.. I'm pretty certain its been this way since v4 was in alpha ...
So that part is actually half done already
__________________
"REAPER... You're simply the best" - Tina Turner
|
|
|
07-05-2017, 07:44 PM
|
#16
|
Human being with feelings
Join Date: Aug 2013
Location: Bowral, Australia
Posts: 1,643
|
I have also recently run up against the issue of creating a large JSFX GUI. Please consider this feature request as a priority.
|
|
|
10-26-2018, 05:17 AM
|
#17
|
Human being with feelings
Join Date: Mar 2017
Location: France
Posts: 628
|
Yes please, scrollbars are really needed here!
|
|
|
05-12-2021, 10:26 AM
|
#18
|
Human being with feelings
Join Date: Nov 2010
Location: New England
Posts: 693
|
I just want to jump to the side of those supporting the addition of a scrollbar.
Would be a -very- welcome "feature" !!.
Thanks
|
|
|
05-14-2021, 11:16 PM
|
#19
|
Human being with feelings
Join Date: Apr 2020
Posts: 1,524
|
Would be nice! So +1 from me too!
|
|
|
02-04-2022, 11:33 PM
|
#20
|
Human being with feelings
Join Date: Aug 2016
Posts: 232
|
+1 Another voter here from me as well.
|
|
|
02-05-2022, 05:16 AM
|
#21
|
Human being with feelings
Join Date: Mar 2007
Posts: 4,020
|
+1
for some kind of "option" of scrolling the content of JSFX Effects
as 64 faders is not gonna fit the standard (or lots of) notebook screens
|
|
|
12-22-2022, 12:01 PM
|
#22
|
Human being with feelings
Join Date: Dec 2021
Posts: 25
|
+1 I would also love to see a scroll bar. I'm doing something weird that requires 56 sliders, so it's a no go for me for the time being I guess.
|
|
|
12-22-2022, 02:21 PM
|
#23
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,336
|
Quote:
Originally Posted by Cody Braden
+1 I would also love to see a scroll bar. I'm doing something weird that requires 56 sliders, so it's a no go for me for the time being I guess.
|
If I recall correctly, Justin mentioned that some sliders can be hidden, so if you don't need all of them to be displayed, this could be a way to go. Another (more complex) solution is GUI.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:04 PM.
|