Randomize Button
-
Hi there!
I'm currently working on a sample library that has two samplers, and I'd like to create a button that applies random changes to the parameters and settings, including the two layers' sound sources, the Balance control, and all macros.
I am currently trying few methods but I'm a bit stuck.
Anyone has a snippet about it? -
-
To randomise a module's attributes you can use the
Math.rand()
function along withsetAttribute
-
@d-healey Thanks a lot! :)