Old 12-03-2015, 08:45 AM   #1
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 755
Default 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.
Ozman is offline   Reply With Quote
Old 04-13-2016, 07:49 AM   #2
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 755
Default

Am I missing something?

Is there like a function or class for scrolling?
Ozman is offline   Reply With Quote
Old 09-05-2016, 01:22 PM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

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!
X-Raym is offline   Reply With Quote
Old 09-05-2016, 10:21 PM   #4
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,776
Default

Quote:
Originally Posted by X-Raym View Post
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
mschnell is offline   Reply With Quote
Old 09-06-2016, 12:52 AM   #5
TheBestMeICanBe
Human being with feelings
 
Join Date: Feb 2009
Location: The Universe
Posts: 39
Default

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.
TheBestMeICanBe is offline   Reply With Quote
Old 09-06-2016, 01:49 AM   #6
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

@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
X-Raym is offline   Reply With Quote
Old 09-06-2016, 03:07 AM   #7
TheBestMeICanBe
Human being with feelings
 
Join Date: Feb 2009
Location: The Universe
Posts: 39
Default

Quote:
Originally Posted by X-Raym View Post
@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.
TheBestMeICanBe is offline   Reply With Quote
Old 09-06-2016, 03:41 AM   #8
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
Default

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
James HE is offline   Reply With Quote
Old 09-06-2016, 06:54 AM   #9
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,776
Default

Quote:
Originally Posted by James HE View Post
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
mschnell is offline   Reply With Quote
Old 09-07-2016, 01:42 PM   #10
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 755
Default

Some interfaces, I believe, just require scrolling, touch/drag and/or scrollbars.
It would be nice to have that as an easily attainable option.
Ozman is offline   Reply With Quote
Old 09-07-2016, 04:12 PM   #11
Smashed Transistors
Human being with feelings
 
Smashed Transistors's Avatar
 
Join Date: Jul 2014
Location: Là bas les huîtres (FR)
Posts: 424
Default

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.
__________________
JSFX plugins and synths. See you here and there: SoundCloud, Youtube, Google Play...
Smashed Transistors is offline   Reply With Quote
Old 09-25-2016, 01:42 AM   #12
reddiesel41264
Human being with feelings
 
reddiesel41264's Avatar
 
Join Date: Jan 2012
Location: North East UK
Posts: 493
Default

+1 scrollbars please
__________________
http://librewave.com - Freedom respecting instruments and effects
http://xtant-audio.com/ - Purveyor of fine sample libraries (and Kontakt scripting tutorials)
reddiesel41264 is offline   Reply With Quote
Old 09-25-2016, 01:47 AM   #13
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

+1. It will make a revolution!
vitalker is offline   Reply With Quote
Old 09-25-2016, 09:22 AM   #14
Aeolian
Human being with feelings
 
Aeolian's Avatar
 
Join Date: Jun 2010
Location: Somewhere PRO
Posts: 1,049
Default

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
Aeolian is offline   Reply With Quote
Old 09-25-2016, 09:26 AM   #15
Aeolian
Human being with feelings
 
Aeolian's Avatar
 
Join Date: Jun 2010
Location: Somewhere PRO
Posts: 1,049
Default

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
Aeolian is offline   Reply With Quote
Old 07-05-2017, 07:44 PM   #16
Time Waster
Human being with feelings
 
Time Waster's Avatar
 
Join Date: Aug 2013
Location: Bowral, Australia
Posts: 1,643
Default

I have also recently run up against the issue of creating a large JSFX GUI. Please consider this feature request as a priority.
__________________
Mal, aka The Wasters of Time
Mal's JSFX: ReaRack2 Modular Synth
Time Waster is offline   Reply With Quote
Old 10-26-2018, 05:17 AM   #17
Regisfofo
Human being with feelings
 
Regisfofo's Avatar
 
Join Date: Mar 2017
Location: France
Posts: 628
Default

Yes please, scrollbars are really needed here!
Regisfofo is offline   Reply With Quote
Old 05-12-2021, 10:26 AM   #18
K8ch
Human being with feelings
 
K8ch's Avatar
 
Join Date: Nov 2010
Location: New England
Posts: 691
Default

I just want to jump to the side of those supporting the addition of a scrollbar.
Would be a -very- welcome "feature" !!.


Thanks
__________________
aka K8ch
(www.KeithHaydon.com)
K8ch is offline   Reply With Quote
Old 05-14-2021, 11:16 PM   #19
Pink Wool
Human being with feelings
 
Pink Wool's Avatar
 
Join Date: Apr 2020
Posts: 1,520
Default

Would be nice! So +1 from me too!
Pink Wool is offline   Reply With Quote
Old 02-04-2022, 11:33 PM   #20
storyteller
Human being with feelings
 
Join Date: Aug 2016
Posts: 232
Default

+1 Another voter here from me as well.
storyteller is offline   Reply With Quote
Old 02-05-2022, 05:16 AM   #21
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,018
Default

+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
akademie is offline   Reply With Quote
Old 12-22-2022, 12:01 PM   #22
Cody Braden
Human being with feelings
 
Join Date: Dec 2021
Posts: 25
Default

+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.
Cody Braden is offline   Reply With Quote
Old 12-22-2022, 02:21 PM   #23
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by Cody Braden View Post
+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.
vitalker is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.