Setting a sliderpack from a slider pack



  • Can someone remind me (probably again) how to set the values for a slider pack in a script from a slider pack in the main interface, e.g. using this sort of set up...I'm sure there was a short cut... but I cant remember (getting old..)

    HiseSnippet 1344.3oc6X0sTaaDEdEFkFfPZSlLc5k5hdAoPXjjkkrmdQLXLLPArGDIDZlNLKRqwaQdWEoUj51oyzGszK6za5iRdBZ6tR1Vxf3OAoclPzEdz4r6Q62d966Ltc.0AEFRC.RSsaeeDP5Ax18IrtM5BwDv5q.jdn7VvPFJPIQ0x88gggHWfjTo0DJjlZRP7y6e9xPOHwAkpB.dIE6f1D2CyR01t92g87VE5h1E2KytMputCkzf5Qi33ojrJvG5bL7Hz1Pw1lPFHcultXFMvlAYnPfzjKSc6a2k9VRx9eINDenGRHnAr4enD0qR8bEHV7NnQWrma6g26P.PRtcpWnThW3Ixagcwizm5M9h3ETRsHq+PZhKBdZEDdRYf2jIv6Qx1NAXeV5JBrMi75DdfpCjGBxBqj8BjdmbCJeCD1h8fGiVMfKLxf4LUUWPohp5S+1NQDGFlRTnjsoLTKxbOc5eY5ol9WmV4zK0oStqINl.pmGJH2kEQ8fKxv4HQ8NDErfxIPuHznMxu9i6em4p4ecRt0Y1HkrNAyZ4iFHmFADqkbqGtpJXzkMqpz6XVswWsb1VppyFfAChJ7P8DC1N+lxhCzOdPf11C6hBZyKG.XNNmUV7pMhwidZfXuT1hNWHCBjdsrowhZ3k0q0diCqVoOd48hZsyQuYs42r+l8s5K9sk32D4F60ZietUSl6ty+Ju88ph22aesD4f0ZxrZvMMp0Ox+H0VLAyWSfpO.nSrrj7F1s190pKZTVM9wRqhdkJVFKnntXYqDcFVlUKaoYJzYXUS7TsltkllY4ZBcl5mcel0R1WUUqZ7O5MRkUkDcpFlk0qXVUnqpVhN8pFVFF5wmY0DUVlZUppYnqct5xwVypm89aTKQWsJkMsLJqmmO4G9uHD+h0WQbH7NHCRP4Is9n.FVT5IsB5Ddm8j1QSIuBJ7XF0ONCtmOkHRmk9rqQN7OwaCKwOTPewKOi+hOLf+Ux74lUN8KnCdK1k0Ur2+VB.5hvG0kIj9dPbAUAvft.CCqgVqd+QBu6v52.rb1l2bJDpajGjMNuhfLcvB7lgi0.WzklDhY8yR1dMHaTykrQKudQWQ39H41XlS27w6D4fWQysOv3c.08rxM6zA4vRA6jxq9phxSWLnb+yYVpGDy.ykDo72BSR4ekmjRpzmlb57mb5yi6CjOzFN8zuKqbYiOU9N53SefGY5Rp6Jx3SoJFM9jrzoFch+zNlmzpA+0xs3+zYdg1Z2D4qwnSYoXtnY7tc.1YA5Md.f6cMhBoju+1VYHeAeS8Qrq+4XrqnSwzeuqg2LygsclCq9AoG1eL1gs+mnxuiRk+vDnLirMm0NlNOFHeYrrxdvSPJqg374Bm5Ewo+W29b5sbX7ie2.HIzmFN1G1F0CuKuvHLqxWDxYsPuYGQTNq9FTXPtK89muJ+RlqM1PVTPb5xR8nQD1XoGkJDY93UMY1eNL6S9+vfG29kd27NEktZv8RlMZpgXzF2y2C0jbBxi2oOFiOl2ZuCLxiMT63I4aQIT+tTB1IaFvNHV.9niPAYwdtWnkXLQK5QZdR8cPdHX1r4ut9l7rPX.2OgJnuP6p6Ktn30WIm.WEQkoxGGc3Kc2rC+NzHFlbzVPdhp3+dX6nd17FqNHNRHDjWnf0eBQywDY0gCHZiHtwB+C+YvhZBYoAKpMbwOZNidPm.5ANIisJpWterFtukD+GyOk7VBYkzQokUWTEzi208.GGQH8Y7XP91nW.aJW.aLJfMUJfMlEvFqBXS0KzFAg2RQLZujxcth1MimkWRpIAxqVhqr.+6ZXlMx
    


  • I'm only seeing one script in your snippet



  • @d-healey - yep and it contains a couple of slider packs - I want to set the values of these from the main interface....



  • @Lindon You're confusing me again, you have two interface scripts in your snippet both with two slider packs...

    This is probably the simplest way - using two global data objects that are assigned to the linked slider packs. However I think it should be possible using setAttribute but currently HISE throws an error saying you have to pass an array, it throws this error even when you do pass an array.

    HiseSnippet 1440.3oc6Y00bSaDEUxNKSrA5TnLc5iZxzGLCTOx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