Randomizer on 3 Grouped buttons, How?
-
@d-healey Thanks for all this David - ok I'm trying this but am unclear on a few things. Trying to store the random number inside the 'btnRandom' array and use that to call the right filter mode in the Sliderpack callback. Not sure why I'm getting this error though:
Line 42, column 25: API call with undefined parameter 1
HiseSnippet 1941.3oc0Y0sbabaEdWYuIgJQoIY7jY5cn7JpXZJt7G8SU8T9iHSXi9gVj1oc7nwAbIHIFuDfdWPYo5wy3dSm9Nza5iPeD76SuIuAsG.rjKnHopDSrmXbgFBbNGb9vAe3rG.0Lf6QBC4AV1IZe4Hhk8m4z5RlXP0AXJypwAV12yACs.Yafr86flUkKGgCCIcsrsuy2J0zNwcsTse5OVA6iYdj3grrdBm5QNjNjJhGsYoum56WG2kzlNzP6BkZ3wYU497w.ptiSVqQXumi6SNFKUaMGK6OpVWpfGzRfEjPK66Vg28xVC3ujo0+IzPZGehriqUKXhzCWm62UhX4nVUGP861bxpOzBlklwwh6niE2y4HZW5zwiiIegR.J1By3g8ZWG7bMgW1aN7rMf2c0v6KcZ4EPGIhkHw1m5zfIHA8vvVfIrz5ZsVsDNU4fFLQlg3mSpG.clZQpsylMMZ2rY2b+MVG1FBEnywAn5TePAWzCQJxQl9DQsd8HdhTIiDkbVCND2g3K0ehq.KpxGNhyfNoRpEeEaZ4S6RBZBa1K2PCcTVuw5aAMzQ+ETkG2t8IG2BkhAzjtn.LqKeHpGO.w3n.BNjy1zzacDrS057PzSWryNs7wGbxQfiRuw5nE2tNCyspFleUMrvpZXwjad19K0x4YBxihgx.WxJzWLF2EcXyjoS9cMPUeba3GGdRzOZVq72mLMRJo02U6v5IOaAzpi3c0S1toQ6kF4BDPW2zn7ypa3zc9FrtjKj5KULMJGnZZTgyTrgH9vwkaWF3B5EWD0PJjx7oLBp2XlmfxYHthCznsL1Dv8S4MIvjF7o+XBvXdkzNYTvm6g8i3UOQJDfvQX3vfbH3.TJ.NE2LJJBSXH2mjYT.EjXXzl6qBnno+cJO7oFZcVlPhP8qTtSlRCpuTptaYgJZ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ovdE2d24HE6ty16kambtWkTnnKEcccKpIEq8.6HVg7KOsfHhNxBL.Q.bmgohpcwHLKD9BXX4PX9FOTpROLTpPrNpWpHXISf7awgyOsv2J0FLur53y4A.9kO6yLBOd7PMDj1jSOldfePFcOE1H3fjmpKZHal7Wok9VKPN9YpCDy+ZKegCTP1XerX1GBR95WQBfn1Lu3h7UUfXo3RSx96jWG5lB2uzoIU3MXw3csEfW3y+uqwazassgi9EkhA6ccp+meO+vZQuA5W4zj6e4nAbF0Sm1TAnDQItcW1ye9l+yiteo5AjWLlv7lDEKk+kunziLo.xB6i6iJ8nwXein9+9e92KWgNh6iCtQ6H24lU44+mm775nMesyzEE5CHttbm4CG79ach1zQxf8GN39ycdzuB.6o7wxOKeDFtFM7UYG3aGsfOF5Q.fxXvUckW+YM4coz8yJ6qtoAg0U04+BsHgtStqjTn6DgVCwdA7m4ouAl77ymnFAvDS8ulHgyQx9n3Kb4jMSVqgP4HOyySlP6A.1WrM4VAaxuB1TXEro3JXy1qfM6rB1r60ZirRvxiE7gZtILPyZ5hjsqoJUTQSs9efxhbzA
-
@DanH What do you expect this to give you (keep in mind that this is in the sliderpack callback)?
local idx = btnRandom.indexOf(component);
-
@d-healey Well, one of the things I'm unclear on sliderpack callabacks
I have no idea how they are supposed to look!
-
@DanH Same as any other control. But your slider pack isn't in the buttons array so looking for it in there will return -1.
The
value
parameter of the callback will give you the number of the slider that was moved. -
@d-healey Oh right, so then I don't even need to get the value of the 'btnRandom' array then I guess, will give a go tonight
-
@DanH Yeah, like I said, you can do the whole thing without the buttons. The buttons are only needed to provide a nice interface for the user.
-
@d-healey So two issues now, firstly the random button doesn't trigger the SliderPack callback. Should
SliderPack.changed();
work? Doesn't seem to be.
Secondly using the value parameter inside the SliderPack callback sets the filters every time a slider is engaged - probably better to have it only when it's value is 1.
HiseSnippet 1941.3oc0Ys0babaEdWYuogJQoIY7zY5an7IpXZIRJRcopdJuHxD1nKzhztsiGMtP6BRhwKAn2ETVpd7Ltu0m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qMG7Be++CMdid0tMbzuMUBXuuSi+xG4mnK50T+VmVb+aF1mynt5zlJ.kJJwc9E8Ppu6+7jGVtQ.4UiHL2wQwx675WU9IlT.Yk8I8QkexHr+TQ8pzgbebvRsibukqzyelGO81nM+Fm3EE5SHttbm4SG79ach1zQxf8mN39qbdx+G.1y4ijeV9DLbOZ3qxNv2NZCeLzk..kwf65Ju+yZxKSo6ma78gZSXdpN+WnEILurucjv7iEZM.6Fvegq9JXxyOetZD.SL0+jiTNmH6iRtwkStsxYM.JG4EttxDZOBv97sovJXyNqfMEWAaJsB1r6JXydqfM6eq1HqDrxHAeflaBCzpttHY65pREUzTq+22uxk9
-
@DanH said in Randomizer on 3 Grouped buttons, How?:
the random button doesn't trigger the SliderPack callback
Sure it does. Put a Console.print in your sliderpack callback and then click the button.
probably better to have it only when it's value is 1.
I agree.
-
Sure it does. Put a Console.print in your sliderpack callback and then click the button.
I just get 'Interface: [Array]'
The sliders move when clicking the random button but the filter and label don't.
-
@DanH Interesting. Let me play with it for a while...
-
@d-healey :folded_hands_light_skin_tone:
-
Try this
HiseSnippet 1970.3oc0YszbajaDdnrmMqztZWua4JUkaH7PJp0z7M0in3J7gH2kY0CZQZmjxkJGnY.IQ4g.zy.JKEWtJma4mQNkC4WgOmeE4TtjK6+fjF.CmA7kVJskcEiCrD5Gn+P2M5oATaetCIHf6akX8tWMhXk3ys6bESLn9.LkY05.qD22FCCe4Xfb7KggUsqFgCBHtVIRbmuUJYh0uqkZ7C+1ZXOLygDSxx5obpC4P5PpHlZ6JeO0yqI1kzkNzP5RUZ4vY04d7w.pticNqQXmWf6SNFKEaMaqDeRCWpf62QfEj.qD2sF28pNC3uhok+oz.54dD4j7VcfERStI2yUhXIUq5Cndtsmr6CrfUocru3NZew8sOh5RinG6StmhAJVCS+Qh0tN3k2Dd4Vc3kv.d2UCuuxtiiOcjHliDaelcKlf32CCg.SXok0Zs+95104fDLQlg3WPZ5CShzH014xkFsatbas+la.gg.A5BrOpI0CDHO5Q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
-
@d-healey oh hang on, now the sliders don't perform the callbacks when moved on their own....!
-
@DanH What about this
HiseSnippet 1969.3oc0Ys0babaEdWYuogJQoIY7zI8MT9PGpXZw65RT8TRJQlvFcgVj1sc7nwEbWPRLdI.8tfxR0imw8s7yH+T7z+F8k9deI+CZO.XIWvaJTJi8TuOng3bAmObNGbvAPMC3tjvPdfkch1WMjXY+oNsthI5ePeLkY03PK664fgu.4We42uC9rpd0PbXHwyx19NeqTR6D20R88S+wpXeLykDSxx5IbpK4H5.pHlZyxeO02uN1izlNvP5hka3xYGv84i.TcGmrVCwtOG2ibBVJ1ZNV1eTMOpfGzRfEjPK66Vk6cUq97Wxzx+DZHsiOQNHmUKXhzjqy88jHVR05f9TeuliW8gVvrzL1WbGsu3dNGS8nSnG6S9bECTrFl9C60tN3kyDdYWc3Ya.u6pg2W3zxMfNTDyQhsOwoASPB5hgPfIrzxZs1+LgyAbPBlXqA3mSpG.ClnQpsylMMZ2rY2b+MVGBCgBzE3.TcpOHPNzCQpjis5QD051k3JRkLhUxoU3HbGhuT9wlBz3.9fgbFLHURM6YzokO0iDzDB1KWQCYTZuw5YfOzw+UT0G2t8omzBkhAoIdn.LyiO.0kGfXbT.AGxYaZZsNB1YZYdH5oK1XmU4jCO8XvPo2Xczh+tNEyeaUrvsUwh2VEKkbyy2eoZNelfbqXnzwkrJ8EivdniZlLcxuqA5fG2F9wQmF8il0p78ISijbZ8c0NpdxyWPZ0wbO8jsaZzdoQ4fDvb4RiJLsrgSh7MXdjKkxKELMJOHZZTwyUYCAjdQg9mf8GQ1OJ+3jJsq.4F5EaTphTbJymxHntiXtBJmg3pbhFsk9p.teJ2wNpz.Ff4CxfdkTOoWISF41mJ5jnSFMnCIH0l6OlGLCgbexVCCnfa1.Ratuxihl72LYljJ9TC4NeqPhP8qT4FOsFY+Rt5gUDJGhoM.+xhTwsOl0i3oQobY7ZkOaIIFJGQxMkFJxcb.12uCLSolwMo2HNC3lWGCAlRw4CByK4RhDldwukHPTUpAuK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YgvoegUBg4az.oHcwPaBwxndhjfkLAxygCmeZgyI0JLOu53K3A.9ku2zTLgayogfTm7ZZZB+Yo28LHPvANOU2vP1sJLyW5aLCI8yUaHl+Yd9bGnYrQ9Xwzu.k7Y2hX.dsodpG4y4.9RwUlI6uSdVpUEtegSSpvs+hw6ZK.uvQ+uqwazi7sgi9orhA6ccp+WdO+hdQO95W5zj6e0v9bF0UW1TAnDQEtysr2c8M+mGc+x0CHuXDg4N1KVtvKeQ4GYlBHapOd7uu7iFg8i85+6le0+pRU5PtONXkhH2Y0557m4sVutzleiyjEE5CnbcYj4CG79achB5Hoy9CGb+YNO5+C.6Y7QxikOFCWgFNU1AN6nEbXnKA.JiAWyUd0m0j2iRON63qB0hv7TC9uvWDybxw1QLyMlo0.ra.+Yt5aeI2+7wJJ.lXp+mHIbNVNFEeYKmrak0Z.zNxybckEzd.f8EqS9agNEtE5T7VnSoagNaeKzYmagN6ds5H6DrxHAefN2DHzrltIY6ZpVEUooV+O2RraXC
-
@d-healey now all the sliders generate random filtermodes
-
@DanH Isn't that what you want?
-
@d-healey No, the random button generates the randomness. The sliderpack is there to store the value of the buttons (and filter modes etc) so they can be saved in presets (hence the tabbed interface button script).
So each slider should control the corresponding filter mode
-
@DanH Just for clarity, what should happen when slider one is moved?
-
@d-healey the first filter mode in the filter array is selected (and he second for slider 2 etc).
At least I think this is what's required for it all the work when making presets - the preset loads the sliderpack settings and the correct filter mode is restored.
Thanks and apologies for any confusion