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BwxndhjfkLAxygCmeZgyI0JLOu53K3A.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
-
@DanH I get it now, leave it with me
-
It seems there isn't a way to get the value of the slider that was moved... @Christoph-Hart we need this! :)
So I think it's time to bring back the buttons... I'll post a snippet soon.
-
Try this:
HiseSnippet 2016.3oc0Yk0bajaDdFYOIqnWsWkqsxlmP3STqok3oNhWWgGhbWlUGzhzNIkJUdAmAjDkGBPOCnrTTopbdK+LxOE++Huj2yK6+fjFCFNC3kLMSTpX7fJNn6F8GZ70MNTSOtMw2m6YXtd6qFRLL+TqVWwD8q1GSYFMNvv7gVXn4Ia8kseCzLpb0PruOwwvz7deuT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Jqlb2qF1myn1pxlA.Z8vB2YWziT+1+4ydTo5djWOhvrGGEKk+Mutzyzo.xSpG+MpzyFgcii5+il+p+d4JzgbWr2Rshbuk6njumGl91nMesUzjB8QDWWtx7wCd+FqvEcjLX+wCt+Lqm8+Af8T9H41xGgg6EC6JaA6czB1Lzl..kwf6tB8Ytl7xQpuyH+N3ZCDlSvG+KnEJLq7ayPgYGKzX.11i+Ra0Upj4OeRPO.lXA+CjV25H42nnaPYYkYqLFCfii7RaaYAsGCXe91jaErI+JXSgUvlhqfM6rB1r6JXyd2pMxSBVdjfOPwMgNZVScHYyZAGULflZ7uQG4t7l
-
@d-healey Thanks David. Moving the sliders isn't changing anything, and saving presets reverts to the last button in the array every time (there's a fifth button lower down the component list!)
-
@DanH Yeah moving the sliders won't do anything now. Because we can't get the index of the slider that was moved I had to abandon that idea, now the sliderpack is just used to store the button. I'll check the preset thing.
-
HiseSnippet 2007.3oc0Y01babaD9nruNQzQoNY7jYx2P4zOPESKwiunWhqmxWDYBazKzhztIiFMNf2ARhwGAnuCTVpZzLteq+L5OE++oeI+CZWb33cfuISyT0o99fFBr6hcwtO6BrPM831DeetmQh0ae0PhQhO2r0ULQ+p8wTlQiCLR7HSL74I+5K+9CvmQkqFh88INFIRbuuWxYh0uuQv2u9mqfcwLaR7TFFujSsIGRGPEwy1rzORccqicHsoCz3tPoF1bVUtKeDXU2yLqwPr8qw8HGikrsloQheWMGpf60RfEDeiD2uB24pV84uko3+kTeZGWhbfkQKXgTSWm65HsX4rFU6SccZNd26a.qRyXew8T9hGYdD0gFMerO4gADPwRn6ORr1sYdV5lW1k27RnYd2WYdeoYKaO5PQLEos8.yFLAwqKFBA5lkhWi0p+.ypbfClXqA3WSp6AChjH8NYylAsW1ra9zMRBgAeA5BrGpN0EXvB8LT.3XqdDQstcI1hzoBIkZRAND2g3J4erp.IpxGLjyfAoSoHOkLsboNDulPvdwBpwSfzajba3CczOip7h1sO43VnzL.l3f7vLG9.TWtGhwQdDrOmsot15H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YYuuSoqhMyVkHLL3Bk8ZcHA6E1dmO9BRCVSOBfxTyX7QovbKRgH7ciByuHE9992MJrvhTXog+2Ugelo5pNZ56c00CgOcUzmoReaDpufRcgpSU1SWc5aue4hRxZgALFbW3IV10EgM0qV15tbrfx50lBIoxU+2apO0DJ4DckbYovbAEvGDKnv6AT+gt3qL5za7aW74lExsmUwBEKlKuAUPFnSX+B6uyt41unFgbRJ4rJrag8xuSgcMBR8RjyLndbpnBBMbR8cnn9tCZ3KUPUVX5mXA0MmWvaoJSDui+Ug1N9c+kRp1.JOfOho8DNOpjufLrE8uQze+mONrZQMsZXqo0r9qB14AeTAY8RAF4zT9+7ckdK0QzOZh+weuTeBsW+3c+6YSiCT1TEO9a8IdShCr1I6tE1u3N6MCNXuc2Y+b6lyZZbP.BonkkUQENXsmjHDHHO5nE3DTNSHnK7FQxDQp1kCwLe3HL+x9v5MZfjktX3r9XdBdqIuEr.xCS8mcYgC6TBLKs53K3df8Ke3tIHd7nAJSPJSN0bpI9qRu6oPffCTNScpe1sxO0WlOZBx4OOHGX12K6glvMpF4hES9Tdx2uLj.30l3MyjuKF3KEWoiuuSdeuk0b+RylTgc+4auqMG6EN69t1dCeszMLUuIXrwdey5+z+ieZzvWw9qLaxcuZXeNiZqpTFXPqGVq1ZQOf869WO+wkp6QdyHBydrWrT929lROWGBHuYd73+XomOB6p40e3Cee4JzgbWr2REQt2xc0wOviVeavlu1LZSg9DBqKiLe5XueiYXPGIc1e5X2eg4y++.i8T9H4wxGgg9fgSkMgyNZAGFZS.CkwfdUg4RrlrYH03rxwAsIPXNAC92vWHQK43DgDsFSzX.11i+JaUKTx7mOKXFvlXA+ykV27H4XTTGSllY2Jqw.3FHux1VVP6IfsOeYxsBxjeEjovJHSwUPlcVAY1cEjYuaUF4k+JORvGnvlvDMqotWbhZA2NL.lZ7efFRG8f
-
@d-healey :clapping_hands_light_skin_tone: Thank you!
-
This post is deleted!