Arp plays in key?
-
@d-healey So that DanH's snippet above works!
-
@MikeB It does work, it does exactly what he told it to do.
-
@d-healey You already said that above.
But it should do the following.Randomise the random area of the slider pack or the individual sliders exactly between the values defined in an array.
So if the array contains [0, 2, 3, 5, 7, 8, 10, 12 ], no slider in the slider pack may have the value 4 or 6 or 9 etc. when the Random button is clicked.
Instead, only a random within the defined values.
This way you can make the Arp randomise within a defined key.
-
But it should do the following.
He isn't pulling values from the array he's just assigning random values.
-
SliderPack1.setSliderAtIndex(i, valuesIWant[Math.randInt(0, valuesIWant.length)]);