Problems using the Arpeggiator
-
Hi Devs!
I am trying to use this script to get the length and a button to randomize the Arpeggiator. but when I use any of those controls the "ActiveFlash" is lost and it is activated again when I change the value of the Steps.
here is the snippet, could someone help me solve it?
I would also like to know if it is possible to limit the range of the Sliderpack, that way it can only be changed from -5 to 5. I was able to assign the range to the Length Knob but when you click on the Sliderpack there is no such range limit.
HiseSnippet 2484.3oc6Z08baabDGPxPwj9iX65LsSeoXzzoC8DaZRP+khaRn9fRV1VVrhJxwMiGkS.GIuXv6P.NZKlLt0S+Ko+o3oO2G5KsOm9eP+Cny3t2guNPwOfXjsSmV7f3b6c6t+vd6t2tGTSelMNHf4qoWX2AdXM8yZzZ.k2c0tHBUay0zzOuwVn.N12LjzJC7PAAXGMc842PPPuvozjO+qOeEjKhZiSIoosGiXieHoGgmRsY8GPbcWG4f2kzSY02n9l1L5pLWVe.OyaTQyCY+LTG7iPhkMmgl9BMbHbleKNhiCzzO0JLmAs5xdAMb86QBHG3hECpp0BDTH40YtNBDKnpsZWhqSy326.MMciloVg4CsBW1XKhCIgdp03BxILS4P0dnOWV3MeF3UUEdUTf2HfjtBjNUHjtnQKaehGOcFAdNiwlTXyoMBL6pPIbsZy8ONqwpLXETd4dnmgW2GFjvQoaUoxUMg+bk6VrXwqecyk2oYiM1Xyk2c6cDieNxO3Z+3eJB6pAbSPZlGvo6fnNrdlepYLt5f4qx54wnvfRKlrhEAPkx3x9d62DQwtikwjUbDFwc5PPv1RUfWoysfyL6uRtSVVVAzxk3f8aBdhViU2JqYbLWMGLOVMWKGLWSv70u90da7HbFh12VoOmynmTxkPcITrY69TaNgQMYzj8ew6qOysjc7K6UAihae7UJ98EMgGvc0rErcgMCj1.QthvUDHm2kYibMCfU.YPL+TIsPNEOKBoz7pt3mX9UO8pYIZMJh0jDkzd4ck+H+CocoHLkU5sY9lkHvlVk6ZRL+sl0rfe+3O9JIK36MSdJZp7DA2xRz8UjmBhXKD3v5ClDHrsz0t4UMu4UtaFdT7eJGf4gCWFhxcv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n5w9+bnQte8KLBgqonVTyeL6amHk3bhz5x74p0kSb7N6sw7N0zIpa8v+6YmFxvFXaYJ2tMe+ueuCqu3xg1BAYCfldjUUB8qAUAElwMHNecz3JwEzzBScpDeZWzjUiOgPLY03IemnidHae191gGHHRXbZIE38lJ+urrfwVhwloe1JiJkqn0CZ4YeaagO80.6yn4wZF3o1LvyMlAdt4LvyslAdt8LvyclHOhtMWtOm0Kz+GHzrg7RA00CqiUFJn8ePp2ngJ
-
@Moidb it seem that changing the lengths all at once in a loop makes the flash disappear. It doesn't if you change only one slider :
inline function onLengthControl(component, value) { // get the stored values from Arp_Panel local storage = Arp_Panel.getValue(); // find the right array for the stored sliderpack values // which in this case is storage.step3 SliderPack3.setSliderAtIndex(0, value); // save the values back to the Arp_Panel Arp_Panel.setValue(storage); };
So, for what you want, I guess only @Christoph-Hart could help you if you ask nicely :)
Note that the flash is also gone in the arp module itself, when changing all sliders values.To limit the range of the sliderPack, simply use these :
-
@Matt_SF Thank you very much! tonight I'm going to try the limit thing, however the flash disappear has me thinking a bit, hi @Christoph-Hart if you have some free time do you think you could help me solve it? Thanks for any help!