controlling Sliderpack idx from a different OnControl??
-
Appreciate the code but where would i insert this? im guessing in the muteSolo() function? bit overwhelming!
-
@ten7kur said in controlling Sliderpack idx from a different OnControl??:
The question is when using vol.setSliderAtIndex(1, (value)); , why wont it respond.
It does respond - correctly - the second slider in vol moves... but if you dont connect vol to the samplers then nothing else is going to happen.
I looked at your project snippet - you dont have a call back for vol
-
Appreciate the code but where would i insert this? im guessing in the muteSolo() function? bit overwhelming!
This is already in your snippet.
It seems to me you just want a knob to control the gain knob of three simple gain effects. So why are you using slider packs at all?
@Lindon said in controlling Sliderpack idx from a different OnControl??:
I looked at your project snippet - you dont have a call back for vol
It's in the master on control callback :)
-
@d-healey said in controlling Sliderpack idx from a different OnControl??:
Appreciate the code but where would i insert this? im guessing in the muteSolo() function? bit overwhelming!
This is already in your snippet.
It seems to me you just want a knob to control the gain knob of three simple gain effects. So why are you using slider packs at all?
@Lindon said in controlling Sliderpack idx from a different OnControl??:
I looked at your project snippet - you dont have a call back for vol
It's in the master on control callback :)
-- which is full of bugs..
so if you delete the on control code and put it in the init like a "normal" approach it works fine:
HiseSnippet 4022.3oc6bs0aabbEdojVaS5nTmKsHnnAXBQAxRDYJRJKaG6FDpqNLwRhPT1NANB1q1cD4FsbW1cWJYl.Aze.EHu0m5i8GP+CT.i9Tdo.8mRdnO09P54LyrW4RpUxxFVIjIPl6b4b9NWl4bNyNRMcr0ntt1NR4xuyfdTobugbqAVdcVoipgkTiUkxcY4MZ7kqsszxC5o55R0kxka56gclK+LRrO+3mtrpopkFMrIIoGZanQuuQWCuvVaV+KLLMWWUmtiQ2Hi9F0anYashsoce.HSKWQpmp1ApsoaphCaJYobWZMcCOamVdpdTWobyrrs9fVcrOxhO9GZ3ZrmIEenpTKfP7lW21TGQL1pzJcLL0a5KvtRR4tRyPweZt3+txaXnaDzdnZ3ZrNHgyHp9H2TiCdUiBuJYGd4h.uY3v6sjao4XzyKrGDaWUtgkG0YeUvDDEV7wJM0Q+F4UrgQX4Utq5Az0cfGB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n10VP85ZznUvNElAE+4J9g5aQszYOfuX.QmU8K2E6rpemYUk.YavpVj.Rni2q41u2PlUGMAO1ieNa67uWU3F6huyRDN2zTKrtc1AsYRgjVhksmH2sojOcmGU0ImG0jyi5WxmG0q3XPW.KLp1jBilTXzuLJLp13JLhceYNgBi9SObnBipWu9jBilTXzjBilTXzjBit3TXTsIEFMovnIun9WzztDP5pLNi23NGwdVAOG+DHN2RHJKuJyHWoq2T1f8aTnnor+9LiPiekLrSSKu9ZGfujV2THxOmKSbgIkINoLweYTl3BisLQ7ZkFuLwmpUOdYhRZCUlHY6mOoLwIkINoLwIkINoLwWaJSTDN32JeOS68TMCUq7+FfIxl88EcSB5mDLfw8B192m+0QlLRwLYKRwI7GjyY9Ywae4cFxL4NICsKb+1V7pXOjWE7nqpli8SD+8Uh8GkWVKfbaI9EhZC7YRU+5HkkqTtBdgOMdhlFptudUIozmSsyvbV3LLmabFlyhmg4byyvbt0YXN2dryA2Wao9d1c4KEgFZtFOzRt0BBsLsz+Gv3.S1I
-
@d-healey said in controlling Sliderpack idx from a different OnControl??:
In the on control callback you are setting the simple gain[value] - so check what value is. But I wouldn't do it that way, I'd use individual control callbacks.
switch(number) { case vol: if (mute.getSliderValueAt(value) == 0) //Channel isn't muted { gainFx[value].setAttribute(0, vol.getSliderValueAt(value)); } break;
OMG! i am completely lost! My heads about to blow up!
@Lindon , the snippet doesnt open anything..
-
@ten7kur said in controlling Sliderpack idx from a different OnControl??:
@Lindon , the snippet doesnt open anything..
How do you mean "open anything"?
-
@d-healey said in controlling Sliderpack idx from a different OnControl??:
It seems to me you just want a knob to control the gain knob of three simple gain effects. So why are you using slider packs at all?
-
This post is deleted! -
If you save your snippet and reload it then it breaks all over the place - the UI is broken....just make a normal UI.
-
@Lindon said in controlling Sliderpack idx from a different OnControl??:
HiseSnippet 4105.3oc6b0saabbEdojVaSlnTmeJZPABvDh.zkHxjborrcraPnkjkipsjHDksSfqfypcGQtQK2kc2kxhMP.8AnW2dSupnO.8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
-
@d-healey said in controlling Sliderpack idx from a different OnControl??:
@d-healey said in controlling Sliderpack idx from a different OnControl??:
It seems to me you just want a knob to control the gain knob of three simple gain effects. So why are you using slider packs at all?
I want to control all effects, not just gain.
I want to use sliderpacks. because in this way i can specify for eg (50 sliders) in a UI and link them via a variable to replace their link.
So instaed of having 550 controls i have 50.
All im looking for is how to get index1, 2,etc to work -
@ten7kur Go to the on control callback. Check how
value
is being set, that is where the problem lies. -
This post is deleted! -
@d-healey said in controlling Sliderpack idx from a different OnControl??:
@ten7kur Go to the on control callback. Check how
value
is being set, that is where the problem lies.Now im beginning to understand an "attribute" but for the life of me, i cant get it working.!
Trying (in OnControl)gainFx[1].setAttribute(0, vol.getSliderValueAt(value));
isnt working.Could you please give me a working example.
-
The original line was:
gainFx[value].setAttribute(0, vol.getSliderValueAt(value));
You changed it to this:
gainFx[1].setAttribute(0, vol.getSliderValueAt(value));
You see you only changed
value
to 1 for the gainFx, butvalue
is also used in thevol.getSliderValueAt()
so I guess you would need to change it there too. -
@ten7kur said in controlling Sliderpack idx from a different OnControl??:
@Lindon said in controlling Sliderpack idx from a different OnControl??:
HiseSnippet 4105.3oc6b0saabbEdojVaSlnTmeJZPABvDh.zkHxjborrcraPnkjkipsjHDksSfqfypcGQtQK2kc2kxhMP.8AnW2dSupnO.8En.9xbSA5c8Anu.4hdU6EomyLy9KWRsRQ101gLAxbmeNmuyOybNmYGoVtN5TOOGWoBE2YXepTg2Tt8Pa+tqzUyzVZ8UkJbQ4MV+Kty1RKOrulmG0PpPgYuK1YghyIw97ce1xZVZ15znljjdnioN89l8L8iZsUy6YZYsllAcGydwF8Uattti8JNVNC.fLqbco9Z5Gn0gtoFNrYjkJbg6XX56311Wym5IUXtkcLF1tqySs4i+gldl6YQwGTkZCDh27ZNVFHhwVkVoqokQq.A1SRpvkZEI9yxE+2SdCSCyv1iTCWl0AIZFw0GElYRvSMN7pme3UHF7liCu2VtstqYe+ndPr8Fxqa6Sc2WCLAwgEerRy7m+Y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q2WlCWBtmA40iZQl8UsZQNeLyWJ724mvahmvcO8K4bBEhrbS9w5DSw8njG6fVyQJUAWHfWj5VNVZtoU6yddIqykaeCTjd0wW9c3mj1qR.l4R7pCfuLdZguD.2scF3CkDGTVpLT6ZandccZ7JXmAyfh+b8fP8so1FrGvWLfnS0fxcwNUC5LupDHaCV0hDPBc8eI298lxr5nI3wd75rsK35mgarK9NKQ3ByRsw51YGzlEERZIQ1dhb2lQ9zcdTpSOOpomG0OlOOpWvwfdErvnFSKLZZgQ+3nvnFSrvH7pEcBEF86d3HEF0rYyoEFMsvnoEFMsvnoEF8pSgQMlVXzzBi9+RgQpuN8h5EP5MXbFuwcth8rBeN4IPbtkPTddUlwtRWukrI6W7RQS4+8YFiF+DYXml19CzO.eIsdYPjWmKSbwokINsLwWNKSr94bYhKdJe+YekdyjkIJoORYhjse1zxDmVl3zxDmVl3zxDeooLQQ3fet7csb1SyJRsx+SklHa1OPzMIreR3.lzKX6eb9WGY5HEykuHEmve2Rm60h29x6NhYxaZFZux8aawKh8PdQvidZ5tNOQ7mgJ1e6hYs.xss3WHpMvmIpg+R5KWuZc7BeZ9DccTceEUIormSiyvbV7LLmqdFlyRmg4bsyvbt9YXN2XhyA2W61C7c5wWJBMz5N7PKEtSXnkYk9eW5P8s.
Your snippet does not load.Once again!
Read. My. Post.
"If you save your snippet and reload it then it breaks all over the place - the UI is broken....just make a normal UI."
- so this is one snippy post too far from you for my liking - have fun goodbye.
-
@d-healey said in controlling Sliderpack idx from a different OnControl??:
also used in the vol.getSliderValu
Aha, ok. Working!
Thanks so much for your patience and help!!@Lindon ......?
I dont know what your problem is. Not sure why you getting all hi-and-mighty here.
For me, nothing is crashing so far. So if it works for me, its good enough for me. Time will tell.