View Single Post
Old 08-25-2018, 11:52 AM   #369
mrelwood
Human being with feelings
 
mrelwood's Avatar
 
Join Date: Nov 2006
Location: Finland
Posts: 1,356
Default

In short, I can't get a graphical slider to run commands in the @slider section in a JS plugin. I expected the slider_automate(sliderX) to do just that. Was I wrong?

In detail:

I have a graphical slider that I wish to use to adjust a basic JS slider1. The slider1 itself adjusts fine, but I can't get it to run the commands in the @slider section.

Say the graphical slider adjusts a parameter called "gfxslider". Even if:

Code:
@slider
parameter1 = slider1;

...

@gfx
slider1 != gfxslider ? (
  slider1 = gfxslider;
  slider_automate(slider1);
  );
The last part can be in @block or @sample, same result, slider1 changes but "parameter1" does not. Only way I've found is to have the "parameter1 = slider1" command in @block, @sample or @gfx instead of the @slider section.
__________________
______Announcing__mrelwood plugins______
.. MacBook Pro 15" Late '13 .. Scarlett 6i6, Saffire Pro 24 DSP (+ADA8000) .. FCA610 .. EVE: SC207 .. Focal: Alpha 65, CMS 40, Listen Pro ..
mrelwood is offline   Reply With Quote